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