#include <bits/stdc++.h>
using namespace std;
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
long long gcd(long long a, long long b) { return b ? gcd(b, a % b) : a; }
const int INF = 1e9;
const long long LLINF = 1e16;
int main(void) {
  int N, x;
  cin >> N;
  x = N % 10;
  if (x == 3)
    cout << N << "bon";
  else if (x == 0 || x == 1) {
    if (x == 6 || x == 8) {
      cout << N << "pon" << endl;
    }
  } else
    cout << N << "hon" << endl;
  return 0;
}
