#include <bits/stdc++.h>
using namespace std;
string s;
unsigned long long sl, x;
int main() {
  cin >> s;
  sl = s.length();
  if (s[0] == '-') sl--;
  if (s.length() > 19) {
    cout << "BigInteger\n";
    return 0;
  }
  if (s[0] == '-') {
    for (int i = 1; i < sl + 1; i++) x = x * 10 + (s[i] - '0');
    if (x > 9223372036854775808)
      cout << "BigInteger\n";
    else if (x > 2147483648)
      cout << "long\n";
    else if (x > 32768)
      cout << "int\n";
    else if (x > 128)
      cout << "short\n";
    else
      cout << "byte\n";
  } else {
    for (int i = 0; i < sl; i++) x = x * 10 + (s[i] - '0');
    if (x > 9223372036854775807)
      cout << "BigInteger\n";
    else if (x > 2147483647)
      cout << "long\n";
    else if (x > 32767)
      cout << "int\n";
    else if (x > 127)
      cout << "short\n";
    else
      cout << "byte\n";
  }
}
