#include #define rep(i,n) for(int i=0;i<(n);i++) using namespace std; int main(){ int h,w; scanf("%d%d",&h,&w); puts(h>w?"TATE":"YOKO"); return 0; }