#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
long long dx[] = {-1, 0, 1, 0};
long long dy[] = {0, -1, 0, 1};
int32_t main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  string s;
  cin >> s;
  long long n = s.size();
  if (n <= 19) {
    unsigned long long u = stoull(s);
    if (u <= 127)
      cout << "byte"
           << "\n";
    else if (u <= 32767)
      cout << "short"
           << "\n";
    else if (u <= 2147483647)
      cout << "int"
           << "\n";
    else if (u <= 9223372036854775807)
      cout << "long"
           << "\n";
    else
      cout << "BigInteger"
           << "\n";
  } else
    cout << "BigInteger"
         << "\n";
  return 0;
}
