#include using namespace std; int main() { int W, H; cin >> W >> H; vector S { "TATE","YOKO" }; cout << S[ W > H ? 0 : 1 ] << endl; return 0; }