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