The number of n-digit numbers is 5.
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
The program takes a natural number n as input.It should output the count of n-digit natural numbers that include at least one digit 7.
Input
A natural number n.
Output
The solution to the problem.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 5K
Acceptance rate 33%