#include <bits/stdc++.h>
using namespace std;
long long INF = 1e9 + 7;
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
void solve() {
  long long N;
  cin >> N;
  long long a = N % 10;
  string fix;
  switch (a) {
    case 2:
    case 4:
    case 5:
    case 7:
    case 9:
      fix = "hon";
    case 0:
    case 1:
    case 6:
    case 8:
      fix = "pon";
    case 3:
      fix = "bon";
    default:
      fix = "";
  }
  cout << fix << endl;
}
signed main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  solve();
  return 0;
}
