#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:256000000")
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  string s;
  cin >> s;
  if (s[0] == '-') {
    int len = s.length();
    if (len < 4 || (len == 4 && s <= "-128")) {
      cout << "byte";
      return 0;
    }
    if (len < 6 || (len == 6 && s <= "-32768")) {
      cout << "short";
      return 0;
    }
    if (len < 11 || (len == 11 && s <= "-2147483648")) {
      cout << "int";
      return 0;
    }
    if (len < 20 || (len == 20 && s <= "-9223372036854775808")) {
      cout << "long";
      return 0;
    }
    cout << "BigInteger";
    return 0;
  } else {
    int len = s.length();
    if (len < 3 || (len == 3 && s <= "127")) {
      cout << "byte";
      return 0;
    }
    if (len < 5 || (len == 5 && s <= "32767")) {
      cout << "short";
      return 0;
    }
    if (len < 10 || (len == 10 && s <= "2147483647")) {
      cout << "int";
      return 0;
    }
    if (len < 19 || (len == 19 && s <= "9223372036854775807")) {
      cout << "long";
      return 0;
    }
    cout << "BigInteger";
    return 0;
  }
  return 0;
}
