#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  string s;
  cin >> s;
  int x = s.length();
  long long num;
  stringstream geek(s);
  geek >> num;
  string check = "9223372036854775807";
  if (x > 19) {
    cout << "BigInteger" << endl;
  } else if (x == 19) {
    int i = 0, flag = 0;
    while (i < 19) {
      if (s[i] == check[i]) {
        i++;
        continue;
      } else if (s[i] > check[i]) {
        flag = 1;
        break;
      } else if (s[i] < check[i]) {
        flag = 0;
        break;
      }
    }
    if (flag == 1)
      cout << "BigInteger" << endl;
    else
      cout << "long" << endl;
  } else if (num <= 127) {
    cout << "byte" << endl;
  } else if (num <= 32767) {
    cout << "short" << endl;
  } else if (num <= 2147483647) {
    cout << "int" << endl;
  } else if (num <= 9223372036854775807) {
    cout << "long" << endl;
  }
  return 0;
}
