Skip to main content

~/algor $ cat contests/round-9/G

G. Year in the Eastern calendar

Problem G ICPC rules 1000 ms 64 MB

In the Eastern calendar, years repeat in a cycle of years. Each year is named after one of 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 is given. Find which colour and which animal the year belongs to.

The circle of the 60-year Eastern calendar made of twelve animals and five colours

Input

One positive integer .

Output

One line: the colour, the animal and the word yili (year) in lowercase separated by one space (for example, qizil ot yili).

Note

Examples

Input #1
1984
Output #1
yashil sichqon yili
Input #2
1985
Output #2
yashil sigir yili

Sign in to submit a solution

Signing up is free and takes a minute.