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