#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:16777216")
#pragma warning(disable : 4996)
using namespace std;
unsigned long long binpow(unsigned long long x, int a) {
  if (a == 0) return 1;
  if (a == 1) return x;
  if (a & 1)
    return binpow(x, a - 1) * x;
  else {
    unsigned long long t = binpow(x, a >>= 1);
    return t * t;
  }
}
int main() {
  unsigned long long n = 0;
  char buf[105];
  scanf("%s", buf);
  int L = (int)strlen(buf);
  int L1 = (int)strlen(buf);
  if (L >= 20) L = 19;
  for (int i = L; i < 105; i++) buf[i] = 'a';
  if (buf[0] != '-') {
    for (int i = 0; i < 19; i++) {
      if (buf[i] != 'a') {
        int t = buf[i] - '0';
        n += (t * binpow(10, L - i - 1));
      }
    }
  } else {
    for (int i = 1; i <= 19; i++) {
      if (buf[i] != 'a') {
        int t = buf[i] - '0';
        n += (t * binpow(10, L - i - 1));
      }
    }
  }
  bool ok;
  if (buf[0] == '-')
    ok = true;
  else
    ok = false;
  if (ok) {
    if (n <= 128 && L1 <= 4) {
      printf("byte");
    } else {
      if (n <= 32768 && L1 <= 6) {
        printf("short");
      } else {
        if (n <= (int)2147483648 && L1 <= 11) {
          printf("int");
        } else {
          if (n <= (unsigned long long)9223372036854775808 && L1 <= 20) {
            printf("long");
          } else {
            printf("BigInteger");
          }
        }
      }
    }
  } else {
    if (n >= -128 && n <= 127 && L1 <= 4) {
      printf("byte");
    } else {
      if (n <= 32767 && L1 <= 6) {
        printf("short");
      } else {
        if (n <= (int)2147483647 && L1 <= 11) {
          printf("int");
        } else {
          if (n <= (unsigned long long)9223372036854775807 && L1 <= 20) {
            printf("long");
          } else {
            printf("BigInteger");
          }
        }
      }
    }
  }
  return 0;
}
