The number of powers of two is 3
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Given a natural number n, determine how many powers of two have exactly n digits.
Input
A natural number n (1 ≤ n ≤ 12
).
Output
The number of n-digit powers of two.
Examples
Input #1
Answer #1
Submissions 901
Acceptance rate 31%