h, w = list(map(int, input().split())) print('TATE' if h > w else 'YOKO')