#27777: _CPP


11030067@mail.hpsh.tp.edu.tw (和平110級鄧雨珊)


#include <iostream>
using namespace std;

int main(){
int n, r;
string y[]={"豬","鼠","牛","虎","兔","龍","蛇","馬","羊","猴","雞","狗"};
while (cin >> n){
if (n>0){
cout << y[n%12] <<endl;
}
else {
cout << y[(n+120+1)%12] <<endl;
}
}
}