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