#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, M;
  cin >> N;
  M = N % 10;
  if (M == 3) {
    cout << N << "bon" << endl;
  } else if (M == 0 || M == 1 || M == 6 || M == 8) {
    cout << N << "pon" << endl;
  } else {
    cout << N << "hon" << endl;
  }
}
