#include<bits/stdc++.h> using namespace std; struct node{ long long max,min; }x,y; int main(){ cin>>x.min>>x.max>>y.min>>y.max; if(x.max*y.max<=2147483648) cout<<"int"; else cout<<"long long int"; return 0; }