import std; void main() { int H, W; readf("%d %d\n", H, W); writeln(H > W ? "TATE" : "YOKO"); }