The number of n-digit numbers is 4.
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
The program receives a natural number n as input.Your task is to determine how many natural numbers with exactly n digits do not include the digit 6.
Input
A natural number n.
Output
The solution to the problem.
Examples
Input #1
Answer #1
Submissions 5K
Acceptance rate 43%