#include using namespace std; int main() { long int h,w; cin >> h >> w; if(h > w) cout << "TATE" << endl; else cout <<"YOKO" << endl; }