function Main(input) {
  input = Number(input)
  [ 2, 4, 5, 7, 9 ].includes(input) ? console.log("hon"):void 0
  [ 0, 1, 6, 8    ].includes(input) ? console.log("bon"):void 0
  [ 3 ].includes(input) ? console.log("pon"):void 0

}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));