#define _CRT_SECURE_NO_WARNINGS #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define MAX_MOD 1000000007 #define REP(i,n) for(long long i = 0;i < n;++i) #define LONGINF 1000000000000000000 int main() { int h, w; cin >> h >> w; if (h * 4 != w * 3) { cout << "TATE" << endl; } else cout << "YOKO" << endl; }