H, W = map(int, input().split(' ')) if W <= H: print("TATE") elif H <= W: print("YOKO")