#include <bits/stdc++.h>
char buf[1000];
char str[1000];
double Abs(double x) {
  if (x < 0) {
    return -x;
  }
  return x;
}
int main() {
  scanf("%s", buf);
  double wp;
  sscanf(buf, "%lf", &wp);
  wp = Abs(wp);
  if (wp < 200.0) {
    int q;
    sscanf(buf, "%d", &q);
    if (q >= -128 && q <= 127) {
      printf("byte\n");
    } else {
      printf("short\n");
    }
  } else if (wp < 40000.0) {
    int q;
    sscanf(buf, "%d", &q);
    if (q >= -32768 && q <= 32767) {
      printf("short\n");
    } else {
      printf("int\n");
    }
  } else if (wp < 3000000000.0) {
    int q;
    sscanf(buf, "%d", &q);
    sprintf(str, "%d", q);
    if (strcmp(buf, str) == 0) {
      printf("int\n");
    } else {
      printf("long\n");
    }
  } else if (wp < 10000000000000000000.0) {
    long long q;
    sscanf(buf, "%lld", &q);
    sprintf(str, "%lld", q);
    if (strcmp(buf, str) == 0) {
      printf("long\n");
    } else {
      printf("BigInteger\n");
    }
  } else {
    printf("BigInteger\n");
  }
  return 0;
}
