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