:let line = getline(1)
:let num = str2nr(line, 10)
:let lowest = num % 10
:if lowest == 3
  :call setline(1, 'bon')
:elseif lowest == 2 || lowest == 4 || lowest == 5 || lowest == 7 || lowest == 9
  :call setline(1, 'hon')
:else
  :call setline(1, 'pon')
:endif
