#include<bits/stdc++.h>
using namespace std;

int main(){
  string str;
  if(str.back() == "1") cout << "pon" << endl;
  if(str.back() == "2") cout << "hon" << endl;
  if(str.back() == "3") cout << "bon" << endl;
  if(str.back() == "4") cout << "hon" << endl;
  if(str.back() == "5") cout << "hon" << endl;
  if(str.back() == "6") cout << "pon" << endl;
  if(str.back() == "7") cout << "hon" << endl;
  if(str.back() == "8") cout << "pon" << endl;
  if(str.back() == "9") cout << "hon" << endl;
  if(str.back() == "0") cout << "pon" << endl;
}