H, W = map(int, input().split()) print(("TATE", "YOKO")[H