Given two natural numbers and , determine how many natural numbers with exactly digits are less than or equal to .
Two natural numbers and are provided on a single line, separated by a space (1 \le n \le 12, 1 \le m \le 10^{12}).
Output the number of -digit natural numbers that do not exceed .
Example 1