h,w=map(int,input().split()) print('TYAOTKEO'[w>h::2])