#include <bits/stdc++.h>
using namespace std;
long long t;
int main() {
  string n;
  cin >> n;
  for (int i = 0; i < n.size(); i++) t = t * 10 + (n[i] - 48);
  if (t < 0 || n.size() > 19)
    cout << "BigInteger" << endl;
  else if (t <= 127)
    cout << "byte" << endl;
  else if (t <= 32767)
    cout << "short" << endl;
  else if (t <= 2147483647)
    cout << "int" << endl;
  else
    cout << "long" << endl;
  return 0;
}
