package main

import "fmt"

func main () {
	var n int
	fmt.Scan(&n)
  
	switch lower_digit := n%10; lower_digit {
    case 2,4,5,7,9: fmt.Print("hon")
    case 0,1,6,8: fmt.Print("ppon")
    case 3: fmt.Print("bon")
    }
}