#include int main() { int h, w; scanf("%d %d", &h, &w); if (h > w) printf("TATE\n"); else printf("YOKO\n"); return 0; }