#include <bits/stdc++.h>
using namespace std;
int main() {
  uint64_t mxdigit = string("9223372036854775808").size();
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  string s;
  cin >> s;
  uint64_t sgn = 1;
  if (s[0] == '-') {
    sgn = -1;
  }
  if (s.size() > (mxdigit + (sgn == -1))) {
    cout << "BigInteger\n";
    return 0;
  }
  if (s.size() <= string("2147483648").size() + (sgn == -1)) {
    int64_t res = 0;
    res = stoll(s);
    if (res >= -128 && res <= 127) {
      cout << "byte\n";
    } else if (res >= -32768 && res <= 32767) {
      cout << "short\n";
    } else if (res >= -2147483648 && res <= 2147483647) {
      cout << "int\n";
    } else {
      cout << "long\n";
    }
  } else {
    uint64_t res = 0;
    if (sgn == -1) s.erase(s.begin());
    res = stoull(s);
    if (res <= (9223372036854775807ull + (sgn == -1)))
      cout << "long\n";
    else
      cout << "BigInteger\n";
  }
  return 0;
}
