h, w = (int(i) for i in input().split()) if h > w: print('TATE') else: print('YOKO')