The number of odd n-digit numbers#9942

The number of odd n-digit numbers

1 Sekunde
64 Megabyte
Leicht

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

Eingabe

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}).

Ausgabe

Answer to the problem.

Beispiele

Beispiel 1

Loading
Loading