#include <bits/stdc++.h>
using namespace std;
int main() {
  string N;
  cin >> N;
  int a;
  a = N.size();
  int b;
  b = N.at(a - 1);
  if (b == 3) {
    std::string numStr = N;
    int num = atoi(numStr.c_str());
    cout << N << "bon" << endl;
  } else if (b == 0 || 1 || 6 || 8) {
    std::string numStr = N;
    int num = atoi(numStr.c_str());
    cout << N << "pon" << endl;
  } else {
    std::string numStr = N;
    int num = atoi(numStr.c_str());
    cout << N << "hon" << endl;
  }
}
