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