s=input() x,y=map(int,s.split()) if x>y: print("TATE") elif x