a,b=map(int, input().split()) print("TYAOTKEO"[a>b::2])