#include <bits/stdc++.h>
using namespace std;
int main() {
  bool big = false;
  char p[100] = "9223372036854775807", q[100] = " ";
  long long n = 0, l;
  cin >> q;
  l = strlen(q);
  if (l > 19) {
    cout << "BigInteger";
    big = true;
  } else if (l == 19) {
    if (strcmp(q, p) > 0) {
      cout << "BigInteger";
      big = true;
    }
  }
  if (l <= 19 && big == false) {
    for (int i = 0; i < l; i++) {
      n = n * 10 + int(q[i]) - 48;
    }
    if (n <= 127) {
      cout << "byte";
    } else if (n >= 128 && n <= 32767) {
      cout << "short";
    } else if (n >= 32768 && n <= 2147483647) {
      cout << "int";
    } else if (n >= 2147483648 && n <= 9223372036854775807) {
      cout << "long";
    }
  }
  return 0;
}
