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