#include <bits/stdc++.h>
using namespace std;
int main() {
  vector<string> type = {"byte", "short", "int", "long", "BigInteger"};
  int t = 0;
  string num;
  cin >> num;
  string test = "";
  bool m = 0;
  if (num[0] == '-') m = 1;
  int n = num.size();
  if (m) {
    --n;
    num.erase(0, 1);
  }
  switch (n) {
    case 0 ... 3: {
      test = "127";
      if (m) test = "128";
      int i = 0;
      if (n == 3)
        while (i < 3) {
          if (test[i] < num[i]) {
            n = 4;
            break;
          } else if (test[i] > num[i])
            break;
          ++i;
        }
      if (n <= 3) {
        cout << type[0];
        break;
      }
    }
    case 4 ... 5: {
      test = "32767";
      if (m) test = "32768";
      int i = 0;
      if (n == 5)
        while (i < 5) {
          if (test[i] < num[i]) {
            n = 6;
            break;
          } else if (test[i] > num[i])
            break;
          ++i;
        }
      if (n <= 5) {
        cout << type[1];
        break;
      }
    }
    case 6 ... 10: {
      test = "2147483647";
      if (m) test = "2147483648";
      int i = 0;
      if (n == 10)
        while (i < 10) {
          if (test[i] < num[i]) {
            n = 11;
            break;
          } else if (test[i] > num[i])
            break;
          ++i;
        }
      if (n <= 10) {
        cout << type[2];
        break;
      }
    }
    case 11 ... 19: {
      test = "9223372036854775807";
      if (m) test = "9223372036854775808";
      int i = 0;
      if (n == 19)
        while (i < 19) {
          if (test[i] < num[i]) {
            n = 20;
            break;
          } else if (test[i] > num[i])
            break;
          ++i;
        }
      if (n <= 19) {
        cout << type[3];
        break;
      }
    }
    default: {
      cout << type[4];
      break;
    }
  }
  return 0;
}
