#include <bits/stdc++.h>
using namespace std;
string s, xbyte, xshort, xint, xlong;
bool check(string a, string b) {
  if (a == b) return false;
  if (a.size() > b.size())
    return true;
  else if (a.size() < b.size())
    return false;
  else {
    for (int i = 0; i < a.size(); i++)
      if (a[i] > b[i])
        return true;
      else if (a[i] < b[i])
        return false;
  }
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> s;
  xbyte = "127";
  xshort = "32767";
  xint = "2147483647";
  xlong = "9223372036854775807";
  if (check(s, xlong))
    cout << "BigInteger"
         << "\n";
  else if (check(s, xint))
    cout << "long"
         << "\n";
  else if (check(s, xshort))
    cout << "int"
         << "\n";
  else if (check(s, xbyte))
    cout << "short"
         << "\n";
  else
    cout << "byte"
         << "\n";
  return 0;
}
