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