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