#include using namespace std; int main(){ int temp; cin >> temp; if(temp % 4 == 0) cout << "TATE" << endl; else cout << "YOKO" << endl; return 0; }