#include <bits/stdc++.h>
using namespace std;
long long int s;
char ss[110];
char kk[110];
int main() {
  scanf("%s", ss);
  int k = sscanf(ss, "%lld", &s);
  if (s >= -128 && s <= 127)
    printf("byte\n");
  else if (s >= -32768 && s <= 32767)
    printf("short");
  else if (s >= -2147483648LL && s <= 2147483647LL)
    printf("int\n");
  else if (s >= -922337203685477808LL && s <= 9223372036854775807LL &&
           (strlen(ss) < 18)) {
    printf("long\n");
  } else if (strlen(ss) <= 20) {
    sprintf(kk, "%lld", s);
    int ok = 1;
    for (int i = 0; ss[i]; i++) {
      if (kk[i] != ss[i]) ok = 0;
    }
    if (ok)
      printf("long\n");
    else
      printf("BigInteger\n");
  } else
    printf("BigInteger\n");
  return 0;
}
