#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string temp;
  temp.push_back(n);
  cout << temp;
  if (temp[1] == '2' || temp[1] == '4' || temp[1] == '5' || temp[1] == '7' ||
      temp[1] == '9') {
    cout << "hon" << endl;
  } else if (temp[1] == '0' || temp[1] == '1' || temp[1] == '6' ||
             temp[1] == '8') {
    cout << "pon" << endl;
  } else {
    cout << "bon";
  }
}
