#include #include int main() { int h, w; scanf("%d %d", &h, &w); puts( h > w ? "TATE" : "YOKO" ); return 0; }