#include <bits/stdc++.h>
int main(void) {
  char num[100];
  int len;
  while (gets(num)) {
    len = strlen(num);
    if (len < 3 || (len == 3 && strcmp(num, "127") <= 0))
      printf("byte\n");
    else if ((len < 5) || ((len == 5) && strcmp(num, "32767") <= 0))
      printf("short\n");
    else if ((len < 10) || ((len == 10) && strcmp(num, "2147483647") <= 0))
      printf("int\n");
    else if ((len < 19) ||
             ((len == 19) && strcmp(num, "9223372036854775807") <= 0))
      printf("long\n");
    else
      printf("BigInteger\n");
  }
  return 0;
}
