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