#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  if (s.size() > 19) {
    cout << "BigInteger" << endl;
    return 0;
  }
  stringstream s2(s);
  unsigned long long l;
  s2 >> l;
  if (l <= 127)
    cout << "byte" << endl;
  else if (l <= 32767)
    cout << "short" << endl;
  else if (l <= 2147483647L)
    cout << "int" << endl;
  else if (l <= 9223372036854775807L)
    cout << "long" << endl;
  else
    cout << "BigInteger" << endl;
  return 0;
}
