#include <bits/stdc++.h>
using namespace std;
const int INF = (int)2e9;
const double EPS = (double)1e-9;
const double PI = (double)acos(-1.0);
const long long MOD = (long long)1e9 + 7;
int irand(int lo, int hi) {
  return (((double)rand()) / (RAND_MAX + 1.0)) * (hi - lo + 1) + lo;
}
string toString(long long x) {
  stringstream ss;
  ss << x;
  return ss.str();
}
long long toNumber(string S) {
  long long ret;
  sscanf(S.c_str(), "%lld", &ret);
  return ret;
}
int main() {
  string bl = "-128", br = "127";
  string sl = "-32768", sr = "32767";
  string il = "-2147483648", ir = "2147483647";
  string lgl = "-9223372036854775808", lgr = "9223372036854775807";
  string s;
  cin >> s;
  int ln = s.length();
  if (s[0] == '-') ln--;
  int mn = -2147483648, mx = 2147483647;
  long long mmn = -9223372036854775808, mmx = 9223372036854775807;
  if (ln <= 3) {
    if (toNumber(s) >= -128 && toNumber(s) <= 127)
      cout << "byte";
    else
      cout << "short";
  } else if (ln <= 5) {
    if (toNumber(s) >= -32768 && toNumber(s) <= 32767)
      cout << "short";
    else
      cout << "int";
  } else if (ln <= 10) {
    if (toNumber(s) >= mn && toNumber(s) <= mx)
      cout << "int";
    else
      cout << "long";
  } else if (ln <= 19) {
    if (s[0] == '-' && lgl.compare(s) < 0)
      cout << "BigInteger";
    else if (lgr.compare(s) < 0)
      cout << "BigInteger";
    else
      cout << "long";
  } else
    cout << "BigInteger";
  return 0;
}
