import sequtils,strutils var a,b : int (a, b) = stdin.readline.split.map(parseInt) if a > b: echo "TATE" else: echo "YOKO"