#include <bits/stdc++.h>
using namespace std;
char ans[][16] = {"byte", "short", "int", "long", "BigInteger"};
int main() {
  string s;
  cin >> s;
  int res = 4;
  int f;
  if (f = s[0] == '-') s.erase(s.begin());
  if (s.size() <= 19) {
    istringstream sin(s);
    unsigned long long x;
    sin >> x;
    if (x < (1ULL << 63 | f)) res = 3;
    if (x < (1LL << 31 | f)) res = 2;
    if (x < (1 << 15 | f)) res = 1;
    if (x < (1 << 7 | f)) res = 0;
  }
  cout << ans[res] << endl;
  return 0;
}
