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