#include <bits/stdc++.h>
using namespace std;
bool comp(string s, string t) {
  if (((int)(s).size()) != ((int)(t).size()))
    return ((int)(s).size()) < ((int)(t).size());
  return s <= t;
}
int main() {
  string s;
  cin >> s;
  if (comp(s, "127"))
    cout << "byte" << endl;
  else if (comp(s, "32767"))
    cout << "short" << endl;
  else if (comp(s, "2147483647"))
    cout << "int" << endl;
  else if (comp(s, "9223372036854775807"))
    cout << "long" << endl;
  else
    cout << "BigInteger" << endl;
  return 0;
}
