"use strict"
const assert = require('assert');

function main(input) {
    let ret = check(input);
    console.log(ret);
}

function check(input) {
    let ans;
    let n = parseInt(input.split("\n").slice(-1));
    let hon = [2, 4, 5, 7, 9];
    let pon = [0, 1, 6, 8];
    let bon = [3];
    if (hon.includes(n)) {
        ans = "hon"
    } else if (pon.includes(n)) {
        ans = "pon"
    } else if (bon.includes(n)) {
        ans = "bon"
    }
    return ans;
}

var input;
input = require('fs').readFileSync('/dev/stdin', 'utf8');
main(input);

// check
// var answer;

// input = `16`;
// answer = `pon`;
// assert.equal(check(input), answer);

// input = `2`;
// answer = `hon`;
// assert.equal(check(input), answer);

// input = `183`;
// answer = `bon`;
// assert.equal(check(input), answer);