if let input_line = readLine(), let number = Int(input_line) {
	let b = number % 10
  	switch b {
      case 2,4,5,7,9: print("hon")
      case 0,1,6,8:   print("pon")
      case 3:         print("bon")
    }
}
