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

~/algor $ cat problems/oyin-kartasi-nomi

Playing card name

Easy 1000 ms 64 MB 26%
Share

The value $N$ and the suit $M$ of a playing card are given. Values: $6$ — olti (six), $7$ — yetti (seven), $8$ — sakkiz (eight), $9$ — to'qqiz (nine), $10$ — o'n (ten), $11$ — valet (jack), $12$ — dama (queen), $13$ — qirol (king), $14$ — tuz (ace). Suits: $1$ — g'isht (diamonds), $2$ — olma (hearts), $3$ — chillak (clubs), $4$ — qarg'a (spades). Print the full name of the card (in Uzbek): the value first, then the suit.

The value of a playing card and its suit sign

Input

One line with two integers: $N$ and $M$.

Output

One line with the card name: the value word and the suit word separated by one space (for example, olti g'isht).

Note

$6 \le N \le 14$
$1 \le M \le 4$

Examples

Input #1
6 1
Output #1
olti g'isht
Input #2
6 2
Output #2
olti olma

Sign in to submit a solution

Signing up is free and takes a minute.