#include<bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef unsigned long long ULL;
#define int LL
#define re register
#define ri register int
#define For(i,t,n) for(ri i = t; i <= n; i++)
#define dFor(i,t,n) for(ri i = t; i >= n; i--)
#define syncoff ios::sync_with_stdio(0),cin.tie(0),cout.tie(0)
const int Inf = 0x3f3f3f3f;
const int memInf = 0x3f;
namespace fastIO{
inline int read() {
ri x=0,f=1,ch=getchar();
while(ch<48||ch>57){if(ch==45)f=-1;ch=getchar();}
while(ch>=48&&ch<=57){x=(x<<3)+(x<<1)+(ch^48);ch=getchar();}
return x*f;
}
inline void read(int&x){x=read();}
inline void read(int&x,int&y){x=read();y=read();}
inline void read(int&x,int&y,int&z){x=read();y=read();z=read();}
inline void read(int&x,int&y,int&z,int&w){x=read();y=read();z=read();w=read();}
}using namespace fastIO;
int xx1,xx2,yy1,yy2;
void solve(){
read(xx1,yy1,xx2,yy2);
if(yy1*yy2 > INT_MAX) puts("long long int");
else if(xx1*xx2 > INT_MAX) puts("long long int");
else puts("int");
}
signed main()
{
solve();
return 0;
}