h, w = map(int, input().split()) print("TATE") if h*3/4 else print("YOKO")