lst = [int(i) for i in input().strip().split()] if lst[0] / lst[1] == 4 / 3: print('TATE') else: print('YOKO')