package leetcode

import "fmt"

func main() {
  var n int
  fmt.Scan(&n)
  swich n % 10 {
    case 2,4,5,7,9:
      fmt.Println("hon")
    case 0,1,6,8:
      fmt.Println("pon")
    case 3:
      fmt.Println("bon")
  }
}