#include <bits/stdc++.h>
using namespace std;
bool chk(string a, string b) {
  if (a.size() > b.size()) {
    return true;
  }
  if (a.size() < b.size()) {
    return false;
  }
  for (int i = 0; i < a.size(); i++) {
    if (a[i] > b[i]) {
      return true;
    }
    if (a[i] < b[i]) {
      return false;
    }
  }
  return false;
}
int a[100010], b[100010];
long long mn = 1e9, mx = -1e9, ans, cnt, sm;
bool ok, okk, used[1000010], use[10010];
int main() {
  string s;
  cin >> s;
  if (!chk(s, "127")) {
    cout << "byte";
  } else if (!chk(s, "32767")) {
    cout << "short";
    return 0;
  } else if (!chk(s, "2147483647")) {
    cout << "int";
    return 0;
  } else if (!chk(s, "9223372036854775807")) {
    cout << "long";
  } else {
    cout << "BigInteger";
  }
  return 0;
}
