#include <bits/stdc++.h>
using namespace std;
bool check(long long int x, string s) {
  stringstream ss;
  string temp;
  ss << x;
  ss >> temp;
  if (temp == s) {
    return true;
  } else {
    return false;
  }
}
int main() {
  stringstream ss;
  string a = "-2147483648", b = "2147483647";
  string c = "-9223372036854775808", d = "9223372036854775807";
  long long int x, x1, x2, y1, y2;
  ss << a;
  ss >> x1;
  ss.clear();
  ss << b;
  ss >> x2;
  ss.clear();
  ss << c;
  ss >> y1;
  ss.clear();
  ss << d;
  ss >> y2;
  ss.clear();
  string s;
  cin >> s;
  ss << s;
  ss >> x;
  if (check(x, s) == false) {
    cout << "BigInteger";
    return 0;
  }
  if (x >= -128 && x <= 127) {
    cout << "byte";
  } else if (x >= -32768 && x <= 32767) {
    cout << "short";
  } else if (x >= x1 && x <= x2) {
    cout << "int";
  } else if (x >= y1 && x <= y2) {
    cout << "long";
  }
}
