#include int main(){ int w,h; scanf("%d %d\n",&h,&w); if(h>w)printf("TATE\n"); else printf("YOKO\n"); return 0; }