#include using namespace std; #define REP(i,n) for(int i=0; i<(int)(n); i++) int main() { ios_base::sync_with_stdio(0); cin.tie(0); int h, w; cin >> h >> w; cout << (h > w ? "TATE" : "YOKO") << endl; return 0; }