#include <bits/stdc++.h>
using namespace std;
string s;
long cmpduong(string s1, string s2) {
  long len1 = s1.size();
  long len2 = s2.size();
  if (len1 < len2) return 2;
  if (len1 == len2) {
    if (s1 > s2)
      return 1;
    else
      return 2;
  }
  if (len1 > len2) return 1;
}
long cmp_am(string s1, string s2) {
  long len1 = s1.size();
  long len2 = s2.size();
  if (len1 < len2) return 1;
  if (len1 == len2) {
    if (s1 >= s2)
      return 2;
    else
      return 1;
  }
  if (len1 > len2) return 2;
}
long check(string s) {
  string tam = '-' + s;
  if (s[0] == '-') {
    if (cmp_am(s, "-128") == 1) return 1;
    if (cmp_am(s, "-32768") == 1) return 2;
    if (cmp_am(s, "-2147483648") == 1) return 3;
    if (cmp_am(s, "-9223372036854775808") == 1) return 4;
    return 5;
  } else {
    if (cmpduong(s, "127") == 2) return 1;
    if (cmpduong(s, "32767") == 2) return 2;
    if (cmpduong(s, "2147483647") == 2) return 3;
    if (cmpduong(s, "9223372036854775807") == 2) return 4;
    return 5;
  }
}
int main() {
  cin >> s;
  if (check(s) == 1) cout << "byte" << endl;
  if (check(s) == 2) cout << "short" << endl;
  if (check(s) == 3) cout << "int" << endl;
  if (check(s) == 4) cout << "long" << endl;
  if (check(s) == 5) cout << "BigInteger" << endl;
  return 0;
}
