The number of even n-digit numbers#9943

The number of even n-digit numbers

1 seconde
64 mégaoctets
Facile

Given two natural numbers and , determine how many even natural numbers with digits are less than .

Entrée

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

Sortie

Answer to the problem.

Exemples

Exemple 1

Loading
Loading