The number of specified digits
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Count the number of digits in number .
Input
The first line contains one -bit integer number . Number can be negative. The second line contains a single digit .
Output
Print the number of digits in number .
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 27K
Acceptance rate 47%