#include <bits/stdc++.h>
using namespace std;
static const double EPS = 1e-5;
int dx[] = {0, 1, 0, -1};
int dy[] = {1, 0, -1, 0};
int main() {
  long long c;
  if (cin >> c) {
    if (-128 <= c && c <= 127)
      cout << "byte";
    else if (-32768 <= c && c <= 32767)
      cout << "short";
    else if (-2147483648LL <= c && c <= 2147483647LL)
      cout << "int";
    else if (LLONG_MIN <= c && c <= LLONG_MAX)
      cout << "long";
  } else
    cout << "BigInteger";
  cout << endl;
}
