#include <bits/stdc++.h>
using namespace std;
template <typename T>
T gcd(T a, T b) {
  if (a % b == 0) {
    return (b);
  } else {
    return (gcd(b, a % b));
  }
}
template <typename T>
T lcm(T a, T b) {
  return a / gcd(a, b) * b;
}
int main(void) {
  int n;
  if (n == 2 || n == 4 || n == 5 || n == 7 || n == 9) {
    cout << "hon";
  } else if (n == 3) {
    cout << "bon";
  } else {
    cout << "pon";
  }
}
