n,m=map(int,raw_input().split()) print ['TATE','YOKO'][m>n]