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