#include <bits/stdc++.h>
int main() {
  char n[101], a[4] = "127", b[6] = "32767", c[11] = "2147483647",
               d[20] = "9223372036854775807";
  int i, l, count, mark;
  while (~scanf("%s", n)) {
    l = strlen(n);
    if (l < 3) {
      printf("byte\n");
      continue;
    }
    if (l == 3) {
      mark = 1;
      for (i = 0; i < l; i++) {
        if (n[i] > a[i]) break;
        if (n[i] < a[i]) {
          mark = 0;
          break;
        }
        if (i == l - 1) {
          if (n[i] == a[i]) mark = 0;
        }
      }
      if (mark == 0)
        printf("byte\n");
      else
        printf("short\n");
      continue;
    }
    if (l == 4) {
      printf("short\n");
      continue;
    }
    if (l == 5) {
      mark = 1;
      for (i = 0; i < l; i++) {
        if (n[i] > b[i]) break;
        if (n[i] < b[i]) {
          mark = 0;
          break;
        }
        if (i == l - 1) {
          if (n[i] == b[i]) mark = 0;
        }
      }
      if (mark == 0)
        printf("short\n");
      else
        printf("int\n");
      continue;
    }
    if (l <= 9) {
      printf("int\n");
      continue;
    }
    if (l == 10) {
      mark = 1;
      for (i = 0; i < l; i++) {
        if (n[i] > c[i]) break;
        if (n[i] < c[i]) {
          mark = 0;
          break;
        }
        if (i == l - 1) {
          if (n[i] == c[i]) mark = 0;
        }
      }
      if (mark == 0)
        printf("int\n");
      else
        printf("long\n");
      continue;
    }
    if (l < 19) {
      printf("long\n");
      continue;
    }
    if (l == 19) {
      mark = 1;
      for (i = 0; i < l; i++) {
        if (n[i] > d[i]) break;
        if (n[i] < d[i]) {
          mark = 0;
          break;
        }
        if (i == l - 1) {
          if (n[i] == d[i]) mark = 0;
        }
      }
      if (mark == 0)
        printf("long\n");
      else
        printf("BigInteger\n");
      continue;
    }
    printf("BigInteger\n");
  }
}
