#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  if (s.length() > 19 || s == "9223372036854775808" ||
      (s.length() == 19 && s > "9223372036854775808"))
    cout << "BigInteger";
  else if (s.length() > 10 || (s.length() == 10 && s >= "2147483648"))
    cout << "long";
  else {
    int n = stoi(s);
    if (n < 128)
      cout << "byte";
    else if (n < 32768)
      cout << "short";
    else if (n <= 2147483647)
      cout << "int";
  }
  return 0;
}
