# coding: utf-8 # yukicoder No.427 テレビ H, W = map(int, input().split()) print("TATE" if H > W else "YOKO")