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