#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pll = pair<ll, ll>;
using dd = long double;
namespace {
static bool constexpr dbg = 0;
ll constexpr N = -1;
string s;
void init() { cin >> s; }
void solve() {
  string s1 = "127", s2 = "32767", s3 = "2147483647",
         s4 = "9223372036854775807";
  ll const n = s.size(), n1 = s1.size(), n2 = s2.size(), n3 = s3.size(),
           n4 = s4.size();
  if (n > n4 || (n == n4 && s > s4))
    cout << "BigInteger";
  else if (n > n3 || (n == n3 && s > s3))
    cout << "long";
  else if (n > n2 || (n == n2 && s > s2))
    cout << "int";
  else if (n > n1 || (n == n1 && s > s1))
    cout << "short";
  else
    cout << "byte";
}
}  // namespace
int main() {
  if (!dbg) {
    std::ios::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
  }
  cout << fixed << setprecision(20);
  init();
  solve();
  return 0;
}
