#include <bits/stdc++.h>
using namespace std;
template <class _T>
inline string tostr(const _T& a) {
  ostringstream os("");
  os << a;
  return os.str();
}
string s;
int main() {
  cin >> s;
  long long x = 0;
  istringstream is(s);
  is >> x;
  string ss = "";
  ss = tostr(x);
  if (ss == s) {
    if (x >= -128 && x <= 127) {
      cout << "byte";
      return 0;
    } else if (x >= -32768 && x <= 32767) {
      cout << "short";
      return 0;
    } else if (x >= -2147483648ll && x <= 2147483647ll) {
      cout << "int";
      return 0;
    } else {
      cout << "long";
      return 0;
    }
  } else {
    cout << "BigInteger";
    return 0;
  }
  return 0;
}
