import strutils, sequtils let HW = stdin.readLine.split.map parseInt ["TATE", "YOKO"][int(HW[0] < HW[1])].echo