hon = [2, 4, 5, 7, 9]
pon = [0, 1, 6, 8]
bon = [3]


def therefore(N):
    lastdigit = int(repr(N)[-1])
    if lastdigit in hon:
        return 'hon'
    elif lastdigit in pon:
        return 'pon'
    else:
        return 'bon'

