#include using namespace std; int main(){ int H, W; cin >> H >> W; if(H > W){ cout << "TATE" << endl; }else{ cout << "YOKO" << endl; } }