#include <bits/stdc++.h>
using namespace std;
int arr[] = {9, 2, 2, 3, 3, 7, 2, 0, 3, 6, 8, 5, 4, 7, 7, 5, 8, 0, 7};
int main() {
  string s1;
  cin >> s1;
  if ((s1.size() <= 18) || (s1[0] == '-' && s1.size() == 19)) {
    stringstream ss;
    ss << s1;
    long long num;
    ss >> num;
    if (num >= -128 && num <= 127) {
      cout << "byte" << endl;
    } else if (num >= -32768 && num <= 32767) {
      cout << "short" << endl;
    } else if (num >= -2147483648 && num <= 2147483647) {
      cout << "int" << endl;
    } else {
      cout << "long" << endl;
    }
  } else if ((s1.size() == 19) || (s1[0] == '-' && s1.size() == 20)) {
    int index = 0, end = 0;
    for (int i = 0; i < s1.size(); ++i) {
      if (i == s1.size() - 1 && s1[0] == '-') {
        if ((s1[i] - '0') > arr[index] + 1) {
          end = 1;
          break;
        }
      } else if (s1[i] != '-' && (s1[i] - '0') > arr[index]) {
        end = 1;
        break;
      } else if (s1[i] != '-' && (s1[i] - '0') < arr[index]) {
        break;
      }
      if (s1[i] != '-') {
        ++index;
      }
    }
    if (end == 0) {
      cout << "long" << endl;
    } else {
      cout << "BigInteger" << endl;
    }
  } else if (s1.size() >= 20) {
    cout << "BigInteger" << endl;
  }
  return 0;
}
