~/algor $ cat problems/sharqiy-taqvim-boyicha-yil
Year in the Eastern calendar
In the Eastern calendar, years repeat in a cycle of $60$ years. Each year is named after one of $12$ animals, which change every year in this order: sichqon (rat), sigir (ox), yo'lbars (tiger), quyon (rabbit), ajdar (dragon), ilon (snake), ot (horse), qo'y (sheep), maymun (monkey), tovuq (rooster), it (dog), to'ng'iz (pig). The colour changes once every two years in this order: yashil (green), qizil (red), sariq (yellow), oq (white), qora (black). 1984 is yashil sichqon yili (the year of the green rat), 1985 is yashil sigir yili, 1986 is qizil yo'lbars yili. The same order continues for the years before 1984 as well. A year $Y$ is given. Find which colour and which animal the year belongs to.
Input
One positive integer $Y$.
Output
One line: the colour, the animal and the word yili (year) in lowercase separated by one space (for example, qizil ot yili).
Note
$1 \le Y \le 10^{4}$
Examples
1984
yashil sichqon yili
1985
yashil sigir yili