#include <bits/stdc++.h>
time_t waktu = clock();
void gettime() {
  printf("\nTime : %.2lf", (clock() - waktu) / double(CLOCKS_PER_SEC));
}
int comp(int a, int b) { return (a > b); }
using namespace std;
int main() {
  int x, cek = -1, hasil = 0, i;
  char cek1[2][30] = {"128", "127"}, cek2[2][30] = {"32768", "32767"},
       cek3[2][30] = {"2147483648", "2147483647"},
       cek4[2][30] = {"9223372036854775808", "9223372036854775807"}, data[50];
  scanf("%s", &data);
  if (data[0] == '-') {
    cek = 0;
    x = strlen(data);
    for (i = 1; i < x; i++) {
      data[i - 1] = data[i];
    }
    data[x - 1] = '\0';
  } else
    cek = 1;
  x = strlen(data);
  if (x < 3 || (x == 3 && strcmp(data, cek1[cek]) <= 0))
    hasil = 1;
  else if (x < 5 || (x == 5 && strcmp(data, cek2[cek]) <= 0))
    hasil = 2;
  else if (x < 10 || (x == 10 && strcmp(data, cek3[cek]) <= 0))
    hasil = 3;
  else if (x < 19 || (x == 19 && strcmp(data, cek4[cek]) <= 0))
    hasil = 4;
  else
    hasil = 5;
  if (hasil == 1)
    printf("byte");
  else if (hasil == 2)
    printf("short");
  else if (hasil == 3)
    printf("int");
  else if (hasil == 4)
    printf("long");
  else
    printf("BigInteger");
  return 0;
}
