#include #include #include #include #include //--------------------------- using namespace std; //--------------------------- #define REP(i,n) for(int i = 0; i < (n); i++) #define P(x) cout << (x) << "\n" //--------------------------- int main(){ std::ios::sync_with_stdio(false); std::cin.tie(0); long long h,w;cin >> h >>w; P(h == ((w*3) /4) ? "YOKO" : "TATE"); return 0; }