#include int main(void){ int v,h; scanf("%d%d",&v,&h); if(v>h){ puts("TATE"); }else if(v