#include <bits/stdc++.h>
using namespace std;
int main() {
  string in;
  while (cin >> in) {
    if (in[0] != '-') {
      if (in.size() > 19) {
        cout << "BigInteger" << endl;
      } else if (in.size() <= 19) {
        unsigned long long int tmp = 0;
        for (int k = 0; k < in.size(); k++) {
          tmp = tmp * 10 + in[k] - '0';
        }
        if (tmp <= 9223372036854775807) {
          if (tmp <= 2147483647) {
            if (tmp <= 32767) {
              if (tmp <= 127) {
                cout << "byte" << endl;
              } else {
                cout << "short" << endl;
              }
            } else {
              cout << "int" << endl;
            }
          } else {
            cout << "long" << endl;
          }
        } else {
          cout << "BigInteger" << endl;
        }
      }
    } else {
      if (in.size() > 20) {
        cout << "BigInteger" << endl;
      } else if (in.size() <= 20) {
        unsigned long long int tmp = 0;
        for (int k = 1; k < in.size(); k++) {
          tmp = tmp * 10 + in[k] - '0';
        }
        if (tmp <= 9223372036854775808) {
          if (tmp <= 2147483648) {
            if (tmp <= 32768) {
              if (tmp <= 128) {
                cout << "byte" << endl;
              } else {
                cout << "short" << endl;
              }
            } else {
              cout << "int" << endl;
            }
          } else {
            cout << "long" << endl;
          }
        } else {
          cout << "BigInteger" << endl;
        }
      }
    }
  }
  return 0;
}
