# No.427 テレビ h, w = [int(i) for i in input().split()] print('TATE' if h > w else 'YOKO')