#include #define rep(i,n) for(int i=0; i<(n); i++) using namespace std; typedef long long ll; int main(){ ll h,w; cin>>h>>w; if(h>w) cout << "TATE" << endl; else cout << "YOKO" << endl; }