The number of n-digit numbers is 4#9939

The number of n-digit numbers is 4

1 Sekunde
64 Megabyte
Sehr leicht

Given two natural numbers and , determine how many natural numbers with exactly digits are greater than or equal to .

Eingabe

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

Ausgabe

The answer to the problem.

Beispiele

Beispiel 1

Loading
Loading