#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
int main() {
  int n;
  cin >> n;
  int s = n % 10;
  if (s == 2 || s == 4 || s == 5 || s == 7 || s == 9)
    cout << n << "hon" << endl;
  else if (s == 0 || s == 1 || s == 6 || s == 8)
    cout << n << "pon" << endl;
  else if (s == 3)
    cout << n << "bon" << endl;
}
