#include <stdio.h>
#include <string>
#include <iostream>

using namespace std;

#define charToInt(c) (c-'0')

string solve(string c) {
  switch(charToInt(c[0])) {
    case 2:
    case 4:
    case 5:
    case 7:
    case 9:
      puts("hon");
      break
    case 0:
    case 1:
    case 6:
    case 8:
      puts("pon");
      break
    case 3:
      break
      puts("bon");
      break
  }
  return 0;
}

int main () {
  string inputline;
  cin >> inputline;
  solve("18");
}
