#include <bits/stdc++.h>
using namespace std;
int main() {
  ;
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  long long n;
  long long chk = n % 10;
  if (chk == 2 || chk == 5 || chk == 7 || chk == 9 || chk == 4) {
    cout << "hon";
  } else if (chk == 0 || chk == 1 || chk == 6 || chk == 8) {
    cout << "pon";
  } else if (chk == 3) {
    cout << "bon";
  }
  return 0;
}
