h,w = map(int, raw_input().split()) if h > w: print 'TATE' else: print 'YOKO'