#include <bits/stdc++.h>
int main() {
  char numero[101], aux[101];
  int i, j, lon;
  gets(numero);
  lon = strlen(numero);
  for (i = 0; i < 100; i++) {
    aux[i] = '0';
  }
  aux[i] = '\0';
  if (numero[0] == '-') {
    i = 1;
    for (j = 100 - (lon - 1); j < 100; j++) {
      aux[j] = numero[i];
      i++;
    }
    aux[j] = '\0';
    if (strcmp(aux,
               "000000000000000000000000000000000000000000000000000000000000000"
               "0000000000000000000000000000000000128") == -1 ||
        strcmp(aux,
               "000000000000000000000000000000000000000000000000000000000000000"
               "0000000000000000000000000000000000128") == 0)
      printf("byte\n");
    else {
      if (strcmp(aux,
                 "0000000000000000000000000000000000000000000000000000000000000"
                 "000000000000000000000000000000000032768") == -1 ||
          strcmp(aux,
                 "0000000000000000000000000000000000000000000000000000000000000"
                 "000000000000000000000000000000000032768") == 0)
        printf("short\n");
      else {
        if (strcmp(aux,
                   "00000000000000000000000000000000000000000000000000000000000"
                   "00000000000000000000000000000002147483648") == -1 ||
            strcmp(aux,
                   "00000000000000000000000000000000000000000000000000000000000"
                   "00000000000000000000000000000002147483648") == 0)
          printf("int\n");
        else {
          if (strcmp(aux,
                     "000000000000000000000000000000000000000000000000000000000"
                     "0000000000000000000000009223372036854775808") == -1 ||
              strcmp(aux,
                     "000000000000000000000000000000000000000000000000000000000"
                     "0000000000000000000000009223372036854775808") == 0)
            printf("long\n");
          else
            printf("BigInteger");
        }
      }
    }
  } else {
    i = 0;
    for (j = 100 - lon; j < 100; j++) {
      aux[j] = numero[i];
      i++;
    }
    aux[j] = '\0';
    if (strcmp(aux,
               "000000000000000000000000000000000000000000000000000000000000000"
               "0000000000000000000000000000000000127") == -1 ||
        strcmp(aux,
               "000000000000000000000000000000000000000000000000000000000000000"
               "0000000000000000000000000000000000127") == 0)
      printf("byte\n");
    else {
      if (strcmp(aux,
                 "0000000000000000000000000000000000000000000000000000000000000"
                 "000000000000000000000000000000000032767") == -1 ||
          strcmp(aux,
                 "0000000000000000000000000000000000000000000000000000000000000"
                 "000000000000000000000000000000000032767") == 0)
        printf("short\n");
      else {
        if (strcmp(aux,
                   "00000000000000000000000000000000000000000000000000000000000"
                   "00000000000000000000000000000002147483647") == -1 ||
            strcmp(aux,
                   "00000000000000000000000000000000000000000000000000000000000"
                   "00000000000000000000000000000002147483647") == 0)
          printf("int\n");
        else {
          if (strcmp(aux,
                     "000000000000000000000000000000000000000000000000000000000"
                     "0000000000000000000000009223372036854775807") == -1 ||
              strcmp(aux,
                     "000000000000000000000000000000000000000000000000000000000"
                     "0000000000000000000000009223372036854775807") == 0)
            printf("long\n");
          else
            printf("BigInteger");
        }
      }
    }
  }
  return 0;
}
