import java.util.*;
import java.io.*;
public class Main
{
    public static void main(String args[])throws Exception
    {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        PrintWriter pw=new PrintWriter(System.out);
        char carr[]=br.readLine().toCharArray();
        if(carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9')
        pw.println("hon");
        else if(carr[carr.length-1]=='3')
        pw.println("bon");
        else
        pw.println("pon");
        pw.flush();
        pw.close();
    }
} import java.util.*; util.* java import java.io.*; io.* java public class Main
{
    public static void main(String args[])throws Exception
    {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        PrintWriter pw=new PrintWriter(System.out);
        char carr[]=br.readLine().toCharArray();
        if(carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9')
        pw.println("hon");
        else if(carr[carr.length-1]=='3')
        pw.println("bon");
        else
        pw.println("pon");
        pw.flush();
        pw.close();
    }
} Main public static void main(String args[])throws Exception
    {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        PrintWriter pw=new PrintWriter(System.out);
        char carr[]=br.readLine().toCharArray();
        if(carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9')
        pw.println("hon");
        else if(carr[carr.length-1]=='3')
        pw.println("bon");
        else
        pw.println("pon");
        pw.flush();
        pw.close();
    } main {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        PrintWriter pw=new PrintWriter(System.out);
        char carr[]=br.readLine().toCharArray();
        if(carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9')
        pw.println("hon");
        else if(carr[carr.length-1]=='3')
        pw.println("bon");
        else
        pw.println("pon");
        pw.flush();
        pw.close();
    } BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) PrintWriter pw=new PrintWriter(System.out); pw new PrintWriter(System.out) char carr[]=br.readLine().toCharArray(); carr br.readLine().toCharArray() br.readLine().toCharArray br.readLine() br.readLine br if(carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9')
        pw.println("hon");
        else if(carr[carr.length-1]=='3')
        pw.println("bon");
        else
        pw.println("pon"); carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9' carr[carr.length-1]=='7' carr[carr.length-1]=='5' carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9' carr[carr.length-1]=='2' carr[carr.length-1] carr carr.length-1 carr.length carr carr.length 1 '2' carr[carr.length-1]=='4' carr[carr.length-1] carr carr.length-1 carr.length carr carr.length 1 '4' carr[carr.length-1]=='5' carr[carr.length-1] carr carr.length-1 carr.length carr carr.length 1 '5' carr[carr.length-1]=='7' carr[carr.length-1] carr carr.length-1 carr.length carr carr.length 1 '7' carr[carr.length-1]=='9' carr[carr.length-1] carr carr.length-1 carr.length carr carr.length 1 '9' pw.println("hon") pw.println pw "hon" if(carr[carr.length-1]=='3')
        pw.println("bon");
        else
        pw.println("pon"); carr[carr.length-1]=='3' carr[carr.length-1] carr carr.length-1 carr.length carr carr.length 1 '3' pw.println("bon") pw.println pw "bon" pw.println("pon") pw.println pw "pon" pw.flush() pw.flush pw pw.close() pw.close pw String args[] args public class Main
{
    public static void main(String args[])throws Exception
    {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        PrintWriter pw=new PrintWriter(System.out);
        char carr[]=br.readLine().toCharArray();
        if(carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9')
        pw.println("hon");
        else if(carr[carr.length-1]=='3')
        pw.println("bon");
        else
        pw.println("pon");
        pw.flush();
        pw.close();
    }
} public class Main
{
    public static void main(String args[])throws Exception
    {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        PrintWriter pw=new PrintWriter(System.out);
        char carr[]=br.readLine().toCharArray();
        if(carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9')
        pw.println("hon");
        else if(carr[carr.length-1]=='3')
        pw.println("bon");
        else
        pw.println("pon");
        pw.flush();
        pw.close();
    }
} Main
import java.util.*;
import java.io.*;
public class Main
{
    public static void main(String args[])throws Exception
    {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        PrintWriter pw=new PrintWriter(System.out);
        char carr[]=br.readLine().toCharArray();
        if(carr[carr.length-1]=='2'||carr[carr.length-1]=='4'||carr[carr.length-1]=='5'||carr[carr.length-1]=='7'||carr[carr.length-1]=='9')
        pw.println("hon");
        else if(carr[carr.length-1]=='3')
        pw.println("bon");
        else
        pw.println("pon");
        pw.flush();
        pw.close();
    }
}