Determine the number of syllables in the Ukrainian written form of the number . (0 \leq N \leq 1000).
A single non-negative integer that does not exceed .
The number of syllables in the Ukrainian written form of the given number.
Example 1
For example, the number is written as "двадцять сім" in Ukrainian, which contains syllables.