#include <bits/stdc++.h>
using namespace std;
bool mario(string a, string b) {
  if (a.size() != b.size()) return a.size() < b.size();
  for (int i = 0; i < a.size(); i++) {
    if (a[i] != b[i]) return a[i] < b[i];
  }
  return true;
}
int main() {
  string b = "127";
  string s = "32767";
  string i = "2147483647";
  string l = "9223372036854775807";
  string n;
  cin >> n;
  if (mario(n, b)) {
    cout << "byte" << endl;
  } else if (mario(n, s)) {
    cout << "short" << endl;
  } else if (mario(n, i)) {
    cout << "int" << endl;
  } else if (mario(n, l)) {
    cout << "long" << endl;
  } else {
    cout << "BigInteger" << endl;
  }
  return 0;
}
