#include <bits/stdc++.h>
using namespace std;
int main() {
  char a[1005];
  cin >> a;
  if (a[0] == '-') {
    int len = strlen(a);
    if (len <= 4) {
      int op = strcmp("-128", a);
      if (op == -1 && len == 4)
        cout << "short" << endl;
      else
        cout << "byte" << endl;
    } else if (len <= 6) {
      int op = strcmp("-32768", a);
      if (op == -1 && len == 6)
        cout << "int" << endl;
      else
        cout << "short" << endl;
    } else if (len <= 11) {
      int op = strcmp("-2147483648", a);
      if (op == -1 && len == 11)
        cout << "long" << endl;
      else
        cout << "int" << endl;
    } else if (len <= 20) {
      int op = strcmp("-9223372036854775808", a);
      if (op == -1 && len == 20)
        cout << "BigInteger" << endl;
      else
        cout << "long" << endl;
    } else
      cout << "BigInteger" << endl;
  } else {
    int len = strlen(a);
    if (len <= 3) {
      int op = strcmp("127", a);
      if (op == -1 && len == 3)
        cout << "short" << endl;
      else
        cout << "byte" << endl;
    } else if (len <= 5) {
      int op = strcmp("32767", a);
      if (op == -1 && len == 5)
        cout << "int" << endl;
      else
        cout << "short" << endl;
    } else if (len <= 10) {
      int op = strcmp("2147483647", a);
      if (op == -1 && len == 10)
        cout << "long" << endl;
      else
        cout << "int" << endl;
    } else if (len <= 19) {
      int op = strcmp("9223372036854775807", a);
      if (op == -1 && len == 19)
        cout << "BigInteger" << endl;
      else
        cout << "long" << endl;
    } else
      cout << "BigInteger" << endl;
  }
  return 0;
}
