#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int t, i, j;
  string s;
  cin >> s;
  stringstream ss;
  ss << s;
  ss >> t;
  if (t <= 127)
    cout << "byte" << endl;
  else if (t > 127 and t <= 32767)
    cout << "short" << endl;
  else if (t > 32767 and t <= 2147483647)
    cout << "int" << endl;
  else if (t > 2147483647 and t <= 9223372036854775806 or
           s == "9223372036854775807")
    cout << "long" << endl;
  else
    cout << "BigInteger" << endl;
  return 0;
}
