import sequtils, strutils let hw = stdin.readLine.split.map parseInt echo if hw[0] > hw[1]: "TATE" else: "YOKO"