#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  int x, c = 0, j = 1;
  long long y = 0;
  cin >> s;
  if (s[0] >= '0' && s[0] <= '9') c = 1;
  if (c == 1)
    x = s.size();
  else {
    x = s.size() - 1;
  }
  if (x > 19) {
    cout << "BigInteger" << endl;
    return 0;
  } else if (x == 19 && c == 1) {
    if (s[0] == '9') {
      if (s[1] <= '2')
        if (s[2] <= '2')
          if (s[3] <= '3')
            if (s[4] <= '3')
              if (s[5] <= '7')
                if (s[6] <= '2')
                  if (s[7] <= '0')
                    if (s[8] <= '3')
                      if (s[9] <= '6')
                        if (s[10] <= '8')
                          if (s[11] <= '5')
                            if (s[12] <= '4')
                              if (s[13] <= '7')
                                if (s[14] <= '7')
                                  if (s[15] <= '5')
                                    if (s[16] <= '8')
                                      if (s[17] <= '0')
                                        if (s[18] <= '7') {
                                          cout << "long" << endl;
                                          return 0;
                                        }
    } else if (s[0] <= '8') {
      cout << "long" << endl;
      return 0;
    }
    cout << "BigInteger" << endl;
    return 0;
  } else if (x == 19 && c == 0) {
    if (s[1] == '9') {
      if (s[2] <= '2')
        if (s[3] <= '2')
          if (s[4] <= '3')
            if (s[5] <= '3')
              if (s[6] <= '7')
                if (s[7] <= '2')
                  if (s[8] <= '0')
                    if (s[9] <= '3')
                      if (s[10] <= '6')
                        if (s[11] <= '8')
                          if (s[12] <= '5')
                            if (s[13] <= '4')
                              if (s[14] <= '7')
                                if (s[15] <= '7')
                                  if (s[16] <= '5')
                                    if (s[17] <= '8')
                                      if (s[18] <= '0')
                                        if (s[19] <= '8') {
                                          cout << "long" << endl;
                                          return 0;
                                        }
    } else if (s[1] <= '8') {
      cout << "long" << endl;
      return 0;
    }
    cout << "BigInteger" << endl;
    return 0;
  } else if (x < 19 && x > 10) {
    cout << "long" << endl;
    return 0;
  } else if (x == 10 && c == 0) {
    if (s[1] == '2') {
      if (s[2] < '1') {
        cout << "int" << endl;
        return 0;
      } else if (s[2] == '1') {
        if (s[3] < '4') {
          cout << "int" << endl;
          return 0;
        } else if (s[3] == '4') {
          if (s[4] < '7') {
            cout << "int" << endl;
            return 0;
          } else if (s[4] == '7') {
            if (s[5] < '4') {
              cout << "int" << endl;
              return 0;
            } else if (s[5] == '4') {
              if (s[6] < '8') {
                cout << "int" << endl;
                return 0;
              } else if (s[6] == '8') {
                if (s[7] < '3') {
                  cout << "int" << endl;
                  return 0;
                } else if (s[7] == '3') {
                  if (s[8] < '6') {
                    cout << "int" << endl;
                    return 0;
                  } else if (s[8] == '6') {
                    if (s[9] < '4') {
                      cout << "int" << endl;
                      return 0;
                    } else if (s[9] == '4') {
                      if (s[10] <= '8') {
                        cout << "int" << endl;
                        return 0;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    } else if (s[1] < 2) {
      cout << "int" << endl;
      return 0;
    }
    cout << "long" << endl;
    return 0;
  } else if (x == 10 && c == 1) {
    if (s[0] == '2') {
      if (s[1] < '1') {
        cout << "int" << endl;
        return 0;
      } else if (s[1] == '1') {
        if (s[2] < '4') {
          cout << "int" << endl;
          return 0;
        } else if (s[2] == '4') {
          if (s[3] < '7') {
            cout << "int" << endl;
            return 0;
          } else if (s[3] == '7') {
            if (s[4] < '4') {
              cout << "int" << endl;
              return 0;
            } else if (s[4] == '4') {
              if (s[5] < '8') {
                cout << "int" << endl;
                return 0;
              } else if (s[5] == '8') {
                if (s[6] < '3') {
                  cout << "int" << endl;
                  return 0;
                } else if (s[6] == '3') {
                  if (s[7] < '6') {
                    cout << "int" << endl;
                    return 0;
                  } else if (s[7] == '6') {
                    if (s[8] < '4') {
                      cout << "int" << endl;
                      return 0;
                    } else if (s[8] == '4') {
                      if (s[9] <= '7') {
                        cout << "int" << endl;
                        return 0;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    } else if (s[0] < 2) {
      cout << "int" << endl;
      return 0;
    }
    cout << "long" << endl;
    return 0;
  }
  if (c == 0) {
    for (int i = s.size() - 1; i >= 1; i--) {
      y += (s[i] - '0') * j;
      j *= 10;
    }
  } else {
    for (int i = s.size() - 1; i >= 0; i--) {
      y += (s[i] - '0') * j;
      j *= 10;
    }
  }
  if (y <= 127 && y >= -128 && x < 4)
    cout << "byte" << endl;
  else if (y <= 32767 && y >= -32768 && x < 6)
    cout << "short" << endl;
  else if (y <= 2147483647 && y >= -2147483648 && x < 11)
    cout << "int" << endl;
  else
    cout << "long" << endl;
}
