#include<bits/stdc++.h>
using namespace std;
int main(){
	int n;
	cin>>n;
	if (15<=n && n<=30){
		cout<<"qingnianzu"<<endl;
	}
	else if (11<=n && n<=14){
		cout<<"shaonianzu"<<endl;
	}
	else if (8<=n && n<=10){
		cout<<"ertongzu"<<endl;
	}
	return 0;
}
/**************************************************************
	Problem: 1670
	User: xiaojingxuan
	Language: C++
	Result: Accepted
	Time:20 ms
	Memory:2072 kb
****************************************************************/