#include <bits/stdc++.h>
using namespace std;
bool Smaller(string a, string b) {
  if (a == b) return true;
  if (a[0] == '-' && b[0] != '-') return true;
  if (a[0] != '-' && b[0] == '-') return false;
  if (a.size() != b.size()) return a.size() < b.size();
  return a < b;
}
int main(void) {
  string N;
  cin >> N;
  if (Smaller("-128", N) && Smaller(N, "127"))
    cout << "byte" << endl;
  else if (Smaller("-32768", N) && Smaller(N, "32767"))
    cout << "short" << endl;
  else if (Smaller("-2147483648", N) && Smaller(N, "2147483647"))
    cout << "int" << endl;
  else if (Smaller("-9223372036854775808", N) &&
           Smaller(N, "9223372036854775807"))
    cout << "long" << endl;
  else
    cout << "BigInteger" << endl;
  return 0;
}
