#include <bits/stdc++.h>
using namespace std;
int main()
{
long long x, y, x1, y2;
cin >> x >> y >> x1 >> y2;
long long s, t;
s = x * x1;
t = y * y2;
if (s >= INT_MIN && t <= INT_MAX)
cout << "int" << endl;
else
cout << "long long int"<<endl;
return 0;
}