Number of syllables#8286

Number of syllables

1 second
64 megabytes
Easy

Determine the number of syllables in the Ukrainian written form of the number . (0 \leq N \leq 1000).

Input

A single non-negative integer that does not exceed .

Output

The number of syllables in the Ukrainian written form of the given number.

Examples

Example 1

Loading
Loading

Note

For example, the number is written as "двадцять сім" in Ukrainian, which contains syllables.