The number of odd n-digit numbers. Problem 2#9944

The number of odd n-digit numbers. Problem 2

1 second
64 megabytes
Very easy

Given two natural numbers, and , determine how many odd natural numbers with digits are greater than .

Input

Two natural numbers, and , provided on a single line separated by a space (1 \leq n \leq 12, 1 \leq m \leq 10^{12}).

Output

Output the number of odd -digit numbers that are greater than .

Examples

Example 1

Loading
Loading