#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:16777216")
using namespace std;
template <class T>
void pv(T a, T b) {
  for (T i = a; i != b; ++i) cout << *i << " ";
  cout << endl;
}
char s[100];
int main() {
  cin >> s;
  stringstream ss(s);
  long long val;
  if (ss >> val) {
    if (-128 <= val && val <= 127)
      puts("byte");
    else if (-(32768) <= val && val <= 32767)
      puts("short");
    else if (-(2147483648LL) <= val && val <= 2147483647LL)
      puts("int");
    else
      puts("long");
  } else {
    puts("BigInteger");
  }
  return 0;
}
