Number of syllables
Easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Determine the number of syllables in the Ukrainian written form of the number N. (0 ≤ N ≤ 1000).
Input
A single non-negative integer that does not exceed 1000.
Output
The number of syllables in the Ukrainian written form of the given number.
Explanation: For example, the number 27 is written as "двадцять сім" in Ukrainian, which contains 3 syllables.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 13%