#include using namespace std; int main(){ int H,W; cin>>H>>W; if(H>W){ cout<<"TATE"<