# -*- coding: utf-8 -*- H,W = map(int, input().split()) t = 'TATE' y = 'YOKO' print(t) if H>W else print(y)