#include <bits/stdc++.h>
using namespace std;
int manin(){
  int n;
  cin >> n;
  int a = n%10;
  
  if(a == 3){
	cout << "bon";
    return 0;
  }
  
  else if(a == 0 || a == 1 || a == 6 || a == 8){
	cout << "pon";
    return 0;
  
  else{
	cout << "hon":
    return 0;
  }
}