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