#include <bits/stdc++.h>
using namespace std;
int main() {
  string num;
  cin >> num;
  int size = num.size();
  switch (size) {
    case 1:
    case 2:
      cout << "byte" << endl;
      break;
    case 3:
      if (num <= "127")
        cout << "byte" << endl;
      else
        cout << "short" << endl;
      break;
    case 4:
      cout << "short" << endl;
      break;
    case 5:
      if (num <= "32767")
        cout << "short" << endl;
      else
        cout << "int" << endl;
      break;
    case 6:
    case 7:
    case 8:
    case 9:
      cout << "int" << endl;
      break;
    case 10:
      if (num <= "2147483647")
        cout << "int" << endl;
      else
        cout << "long" << endl;
      break;
    case 11:
    case 12:
    case 13:
    case 14:
    case 15:
    case 16:
    case 17:
    case 18:
      cout << "long" << endl;
      break;
    case 19:
      if (num <= "9223372036854775807")
        cout << "long" << endl;
      else
        cout << "BigInteger" << endl;
      break;
    default:
      cout << "BigInteger" << endl;
      break;
  }
}
