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