#include <bits/stdc++.h>
using namespace std;
using namespace std;
int main(){
long long int x, x1, y, y1;
cin >> x >> x1 >> y >> y1;
x * y;
x1 * y1;
if(x > 2147483648 || x < -2147483648 || x1 > 2147483648 || x1 < -2147483648){
cout << "long long int" << endl;
}else{
cout << "int" << endl;
}
return 0;
}