n,m = map(int,input().split()) if m/n==3/4: print("TATE") else: print("YOKO")