#include <bits/stdc++.h>
using namespace std;
int main() {
  long double a;
  cin >> a;
  if (a >= -128 && a <= 127)
    cout << "byte" << endl;
  else if (a >= -32768 && a <= -129 || a >= 128 && a <= 32767)
    cout << "short" << endl;
  else if (a >= -2147483648 && a <= -32769 || a >= 32768 && a <= 2147483647)
    cout << "int" << endl;
  else if (a >= -9223372036854775808 && a <= -2147483649 ||
           a >= 2147483648 && a <= 9223372036854775807)
    cout << "long" << endl;
  else
    cout << "BigInteger" << endl;
}
