#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:64000000")
using std::cerr;
using std::cin;
using std::cos;
using std::cout;
using std::endl;
using std::make_pair;
using std::map;
using std::max;
using std::min;
using std::next_permutation;
using std::pair;
using std::priority_queue;
using std::queue;
using std::random_shuffle;
using std::set;
using std::sin;
using std::sort;
using std::sqrt;
using std::stack;
using std::string;
using std::stringstream;
using std::swap;
using std::vector;
const long double PI = 3.14159265358979323846;
int main() {
  string s;
  cin >> s;
  string s1 = "127";
  if ((s.size() < s1.size()) || ((s.size() == s1.size()) && (s <= s1))) {
    cout << "byte" << endl;
    return 0;
  }
  s1 = "32767";
  if ((s.size() < s1.size()) || ((s.size() == s1.size()) && (s <= s1))) {
    cout << "short" << endl;
    return 0;
  }
  s1 = "2147483647";
  if ((s.size() < s1.size()) || ((s.size() == s1.size()) && (s <= s1))) {
    cout << "int" << endl;
    return 0;
  }
  s1 = "9223372036854775807";
  if ((s.size() < s1.size()) || ((s.size() == s1.size()) && (s <= s1))) {
    cout << "long" << endl;
    return 0;
  }
  cout << "BigInteger" << endl;
  return 0;
}
