#27762: _CPP


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


#include <iostream>
using namespace std;

int main(){
char m[5]={'U','G','Y','T','I'};
int x;
while (cin >> x){
cout << m[x%5] <<endl;
}
}