def main(): H, W = map(int, input().split()) if H==4: print('TATE') else: print('YOKO') if __name__ == '__main__': main()