#include <bits/stdc++.h>
using namespace std;
void solve() {
  long long n, a, m = 0, b = 1, k = 0, i, j, l = 2e9 + 7;
  string s, r, y;
  cin >> n;
  k = n % 2;
  if (k == 2 || k == 4 || k == 5 || k == 7 || k == 9)
    cout << "hon";
  else if (k == 0 || k == 1 || k == 6 || k == 8)
    cout << "pon";
  else
    cout << "bon";
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long t = 1;
  while (t--) {
    solve();
  }
  return 0;
}
