#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  bool neg = false;
  cin >> s;
  int n = s.length();
  if (s[0] == '-') {
    neg = true;
    n--;
  }
  int cur = 0;
  if (n < 3)
    cur = 1;
  else if (n == 3)
    if ((!neg && s <= "127") || (neg && s <= "-128"))
      cur = 1;
    else
      cur = 2;
  else if (n < 5)
    cur = 2;
  else if (n == 5)
    if ((!neg && s <= "32767") || (neg && s <= "-32768"))
      cur = 2;
    else
      cur = 3;
  else if (n < 10)
    cur = 3;
  else if (n == 10)
    if ((!neg && s <= "2147483647") || (neg && s <= "-2147483648"))
      cur = 3;
    else
      cur = 4;
  else if (n < 19)
    cur = 4;
  else if (n == 19)
    if ((!neg && s <= "9223372036854775807") ||
        (neg && s <= "-9223372036854775808"))
      cur = 4;
    else
      cur = 5;
  else
    cur = 5;
  if (cur == 1)
    cout << "byte" << endl;
  else if (cur == 2)
    cout << "short" << endl;
  else if (cur == 3)
    cout << "int" << endl;
  else if (cur == 4)
    cout << "long" << endl;
  else
    cout << "BigInteger" << endl;
  return 0;
}
