Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/oquv-masalalari-soni

Number of practice problems

Easy 1000 ms 64 MB 27%
Share

A number of practice problems $n$ is given. Write it in words in Uzbek and add ta masala ("problems") at the end, for example: $20$ — yigirma ta masala, $32$ — o'ttiz ikki ta masala. Words: bir (1), ikki (2), uch (3), to'rt (4), besh (5), olti (6), yetti (7), sakkiz (8), to'qqiz (9), o'n (10), yigirma (20), o'ttiz (30), qirq (40).

Tens and units written as words

Input

One integer $n$.

Output

One line: the words in lowercase separated by one space (for example, o'n bir ta masala).

Note

$10 \le n \le 40$

Examples

Input #1
10
Output #1
o'n ta masala
Input #2
11
Output #2
o'n bir ta masala

Sign in to submit a solution

Signing up is free and takes a minute.