H, W = input().split() print(['YOKO', 'TATE'][H > W])