#include <bits/stdc++.h>
using namespace std;
const double PI = 3.1415926535;
long long powi(long long base, int p) {
  long long res = 1;
  while (p--) res *= base;
  return res;
}
long long gcd(long long a, long long b) { return b == 0 ? a : gcd(b, a % b); }
bool is_vowel(char c) {
  c = tolower(c);
  return c == 'a' || c == 'e' || c == 'o' || c == 'i' || c == 'u' || c == 'y';
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  string str;
  cin >> str;
  if (str[0] == '-') {
    str = str.substr(1);
    if (str.size() > 19 || (str.size() == 19 && str > "9223372036854775808"))
      cout << "BigInteger";
    else {
      long long n = stoll(str);
      if (n <= 128)
        cout << "byte";
      else if (n <= 32768)
        cout << "short";
      else if (n <= 2147483648)
        cout << "int";
      else
        cout << "long";
    }
  } else {
    if (str.size() > 19 || (str.size() == 19 && str > "9223372036854775807"))
      cout << "BigInteger";
    else {
      long long n = stoll(str);
      if (n <= 127)
        cout << "byte";
      else if (n <= 32767)
        cout << "short";
      else if (n <= 2147483647)
        cout << "int";
      else
        cout << "long";
    }
  }
  return 0;
}
