#include <bits/stdc++.h>
using namespace std;
struct Node {
  string s;
};
bool operator>(Node N, string s) {
  if (N.s.size() != s.size()) return N.s.size() > s.size();
  for (int i = 0; i < s.size(); i++)
    if (s[i] != N.s[i]) return N.s[i] > s[i];
  return false;
}
int main() {
  Node N;
  cin >> N.s;
  if (N.s[0] != '-') {
    if (N > "9223372036854775807")
      cout << "BigInteger" << endl;
    else if (N > "2147483647")
      cout << "long" << endl;
    else if (N > "32767")
      cout << "int" << endl;
    else if (N > "127")
      cout << "short" << endl;
    else
      cout << "byte" << endl;
  } else {
    string t = N.s;
    N.s.clear();
    for (int i = 1; i < t.size(); i++) N.s.push_back(t[i]);
    if (N > "9223372036854775808")
      cout << "BigInteger" << endl;
    else if (N > "2147483648")
      cout << "long" << endl;
    else if (N > "32768")
      cout << "int" << endl;
    else if (N > "128")
      cout << "short" << endl;
    else
      cout << "byte" << endl;
  }
  return 0;
}
