#include <bits/stdc++.h>
using namespace std;
const double pi = acos(-1.0);
const int inf = (int)1e9;
const double inf1 = 1e-9;
const int ss = (int)1e6 + 3;
int main() {
  string s;
  getline(cin, s);
  if (s.size() > 19) {
    cout << "BigInteger";
    return 0;
  }
  long long int res = 0;
  long long int k = 1;
  for (int i = s.size() - 1; i >= 0; --i) {
    res += (s[i] - '0') * k;
    k *= 10;
  }
  if (res < 0) {
    cout << "BigInteger";
    return 0;
  }
  if (res < 128) {
    cout << "byte";
    return 0;
  }
  if (res < 32768) {
    cout << "short";
    return 0;
  }
  if (res < 2147483648) {
    cout << "int";
    return 0;
  }
  if (res < 9223372036854775808) {
    cout << "long";
    return 0;
  }
  return 0;
}
