s=['鼠','牛','虎','兔','龍','蛇','馬','羊','猴','雞','狗','豬']
while True:
try:
a=int(input())
except EOFError:
break
if a>0:
print(s[(a-1)%12])
else:
print(s[a%12])