#include <bits/stdc++.h>
using namespace std;
void solve() {
  int n;
  cin >> n;
  vector<string> s;
  s[0] = "hon";
  s[1] = "pon";
  s[2] = "bon";
  int r = n % 10;
  if (r == 2 || r == 4 || r == 5 || r == 7 || r == 9) {
    cout << s[0] << "\n";
    return;
  }
  if (r == 3) {
    cout << s[2];
    return;
  }
  cout << s[1];
}
int main() {
  int t = 1;
  while (t--) {
    solve();
  }
}
