#include<bits/stdc++.h>
using namespace std;
int main(){
int a;
while(cin>>a){
if(a%5==0) cout<<"U";
else if(a%5==1) cout<<"G";
else if(a%5==2) cout<<"Y";
else if(a%5==3) cout<<"T";
else cout<<"I";
}
return 0;
}
#include
using namespace std;
int main(){
int a;
while(cin>>a){
if(a%5==0) cout<<"U";
else if(a%5==1) cout<<"G";
else if(a%5==2) cout<<"Y";
else if(a%5==3) cout<<"T";
else cout<<"I";
}
return 0;
}
那個return(0);不必要