let therefore n =
  let n_mod_10 = n mod 10 in
  if n_mod_10 = 2 then "hon"
  else if n_mod_10 = 4 then "hon"
  else if n_mod_10 = 5 then "hon"
  else if n_mod_10 = 7 then "hon"
  else if n_mod_10 = 9 then "hon"
  else if n_mod_10 = 0 then "pon"
  else if n_mod_10 = 1 then "pon"
  else if n_mod_10 = 6 then "pon"
  else if n_mod_10 = 8 then "pon"
  else "bon"

let () = Printf.printf "%s\n" (therefore (read_int ()))