#include <bits/stdc++.h>
using namespace std;
mt19937 rnd(339264);
const long long MOD = 998244353;
int main() {
  string s;
  cin >> s;
  if (s.size() < 3 || (s.size() == 3 && s <= "127")) {
    cout << "byte" << endl;
    return 0;
  }
  if (s.size() < 5 || (s.size() == 5 && s <= "32767")) {
    cout << "short" << endl;
    return 0;
  }
  if (s.size() < 10 || (s.size() == 10 && s <= "2147483647")) {
    cout << "int" << endl;
    return 0;
  }
  if (s.size() < strlen("9223372036854775807") ||
      (s.size() == strlen("9223372036854775807") &&
       s <= "9223372036854775807")) {
    cout << "long" << endl;
    return 0;
  }
  cout << "BigInteger" << endl;
  return 0;
}
