#include <bits/stdc++.h>
using namespace std;
string str;
string sbyt("127"), ssho("32767"), sint("2147483647"),
    slon("9223372036854775807");
int main() {
  while (cin >> str) {
    if (str.size() > 19) {
      cout << "BigInteger\n";
      continue;
    }
    if (str.size() < sbyt.size())
      cout << "byte\n";
    else if (str.size() == sbyt.size() && str <= sbyt)
      cout << "byte\n";
    else if (str.size() < ssho.size())
      cout << "short\n";
    else if (str.size() == ssho.size() && str <= ssho)
      cout << "short\n";
    else if (str.size() < sint.size())
      cout << "int\n";
    else if (str.size() == sint.size() && str <= sint)
      cout << "int\n";
    else if (str.size() < slon.size())
      cout << "long\n";
    else if (str.size() == slon.size() && str <= slon)
      cout << "long\n";
    else
      cout << "BigInteger\n";
  }
}
