#include <stdio.h>

char *pronounce(int N);

void main()
{
    int N;

    scanf("%d", &N);
    printf("%s", pronounce(N));
}

char *pronounce(int N)
{
    if (N % 10 == 3)
        return "bon";
    if (N % 10 == 0)
        return "pon";
    if (N % 10 == 1)
        return "pon";
    if (N % 10 == 6)
        return "pon";
    if (N % 10 == 8)
        return "pon";
    else
        return "hon";
}
