#include <bits/stdc++.h>
int main() {
  int len;
  char s[100];
  scanf("%s", s);
  len = strlen(s);
  if (s[0] != '-' && len < 3 || (len == 3 && strcmp(s, "127") <= 0))
    printf("byte");
  else if (s[0] == '-' && len < 4 || (len == 4 && strcmp(s, "-128") <= 0))
    printf("byte");
  else if (s[0] != '-' && len < 5 || (len == 5 && strcmp(s, "32767") <= 0))
    printf("short");
  else if (s[0] == '-' && len < 6 || (len == 6 && strcmp(s, "-32768") <= 0))
    printf("short");
  else if (s[0] != '-' && len < 10 ||
           (len == 10 && strcmp(s, "2147483647") <= 0))
    printf("int");
  else if (s[0] == '-' && len < 11 ||
           (len == 11 && strcmp(s, "-2147483648") <= 0))
    printf("int");
  else if (s[0] != '-' && len < 19 ||
           (len == 19 && strcmp(s, "9223372036854775807") <= 0))
    printf("long");
  else if (s[0] == '-' && len < 20 ||
           (len == 20 && strcmp(s, "-9223372036854775808") <= 0))
    printf("long");
  else
    printf("BigInteger");
}
