#include using namespace std; int main() { int a, b; cin >> a >> b; if (a>b && a % 4 == 0 && b % 3 == 0) { cout << "TATE" << endl; } else if (a