print("TYAOTKEO"[eval(input().replace(" ","<"))::2])