H, W = map(int, input().split()) if W == H * 0.75: print("TATE") else: print("YOKO")