fun main(args: Array<String>) {
  val n = args[0]
  val u = when (n[n.length - 1].toString()) {
     "2", "4", "5", "7", "9" -> "hon"
    "0", "1", "6", "8" -> "pon"
    else -> "bon"
  }

  println(u)
}