~/algor $ cat problems/if-vaqtga-mos-salom
Greeting by the time
Easy
1000 ms
64 MB
21%
An hour of the day $h$ is given. Print the greeting that fits this time: Xayrli tong (good morning) if $5 \le h \le 11$, Xayrli kun (good afternoon) if $12 \le h \le 17$, Xayrli kech (good evening) if $18 \le h \le 22$, and Xayrli tun (good night) for the remaining hours ($h = 23$ or $0 \le h \le 4$).
Input
One integer $h$.
Output
One line — the matching greeting, exactly as written above (for example, Xayrli tong).
Note
$0 \le h \le 23$
Examples
Input #1
9
Output #1
Xayrli tong
Input #2
20
Output #2
Xayrli kech