#include <bits/stdc++.h>
using namespace std;
string s;
int main() {
  cin >> s;
  int n = s.length();
  if (n < 3 || n == 3 && s <= "127")
    printf("byte\n");
  else if (n < 5 || n == 5 && s <= "32767")
    printf("short\n");
  else if (n < 10 || n == 10 && s <= "2147483647")
    printf("int\n");
  else if (n < 19 || n == 19 && s <= "9223372036854775807")
    printf("long\n");
  else
    printf("BigInteger\n");
  return 0;
}
