H,W=map(int,input().split()) print("TYAOTKEO"[H