n-digit numbers#1288

n-digit numbers

1 second
122.174 megabytes
Medium

How many -digit positive integers exist that start with digits or ?

Input

Three integers are given: (0 < n \leq 10^6), , and . All data is given in the decimal system.

Output

Print the number of -digit positive integers starting with or .

Examples

Example 1

Loading
Loading