#include int main() { using namespace std; int h, w; cin >> h >> w; cout << (h > w ? "TATE\n" : "YOKO\n"); }