#include <bits/stdc++.h>
using namespace std;
int cmp(string s, string t) {
  if (s == t) return 0;
  int n = s.size(), m = t.size();
  if (n < m) return -1;
  if (n > m) return 1;
  for (int i = 0; i < n; i++) {
    char a = s[i], b = t[i];
    if (a > b) return 1;
    if (a < b) return -1;
  }
}
int main() {
  string s;
  cin >> s;
  if (cmp(s, "9223372036854775807") == 1)
    cout << "BigInteger" << endl;
  else {
    stringstream ss(s);
    long long n;
    ss >> n;
    if (n <= 127LL)
      cout << "byte" << endl;
    else if (n <= 32767LL)
      cout << "short" << endl;
    else if (n <= 2147483647LL)
      cout << "int" << endl;
    else
      cout << "long" << endl;
  }
  return 0;
}
