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