#include <bits/stdc++.h>
using namespace std;
const double eps = 1e-8;
const int dx[] = {1, 0, -1, 0, -1, -1, 1, 1};
const int dy[] = {0, 1, 0, -1, -1, 1, -1, 1};
const int OO = INT_MAX;
long long tolong(string s) {
  stringstream ss;
  ss << s;
  long long n;
  ss >> n;
  return n;
}
string toString(long long s) {
  stringstream ss;
  ss << s;
  string n;
  ss >> n;
  return n;
}
int main() {
  string x;
  cin >> x;
  long long n = tolong(x);
  if (x == toString(n)) {
    if (n >= -128 && n <= 127) {
      cout << "byte";
    } else if (n >= -32768 && n <= 32767) {
      cout << "short";
    } else if (n >= -2147483648 && n <= 2147483647) {
      cout << "int";
    } else {
      cout << "long";
    }
  } else {
    cout << "BigInteger";
  }
  return 0;
}
