code
#include<iostream>
using namespace std;
int main()
{
int year;
cin >> year;
year = year % 60;
int t = 0;
string T[] = {"geng","xin","ren","gui","jia","yi","bing","ding","wu","ji"};
t = year % 10;
cout << T[t];
int d = 0;
string D[] = {"shen","you","xu","hai","zi","chou","yin","mao","chen","si","wu","wei"};
d = year % 12;
cout << D[d];
return 0;
}