import java.util.*;
public class Main
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
int t=sc.nextInt();
int a=t%10;
if(a==2 || a==4 || a==5 || a==7 || a==9)
System.out.println("hon");
else if(a==0 || a==1 || a==6 || a==8)
System.out.println("pon");
else if(a==3)
System.out.println("bon");

}
}
  import java.util.*; util.* java public class Main
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
int t=sc.nextInt();
int a=t%10;
if(a==2 || a==4 || a==5 || a==7 || a==9)
System.out.println("hon");
else if(a==0 || a==1 || a==6 || a==8)
System.out.println("pon");
else if(a==3)
System.out.println("bon");

}
} Main public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
int t=sc.nextInt();
int a=t%10;
if(a==2 || a==4 || a==5 || a==7 || a==9)
System.out.println("hon");
else if(a==0 || a==1 || a==6 || a==8)
System.out.println("pon");
else if(a==3)
System.out.println("bon");

} main {
Scanner sc=new Scanner(System.in);
int t=sc.nextInt();
int a=t%10;
if(a==2 || a==4 || a==5 || a==7 || a==9)
System.out.println("hon");
else if(a==0 || a==1 || a==6 || a==8)
System.out.println("pon");
else if(a==3)
System.out.println("bon");

} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int t=sc.nextInt(); t sc.nextInt() sc.nextInt sc int a=t%10; a t%10 t 10 if(a==2 || a==4 || a==5 || a==7 || a==9)
System.out.println("hon");
else if(a==0 || a==1 || a==6 || a==8)
System.out.println("pon");
else if(a==3)
System.out.println("bon"); a==2 || a==4 || a==5 || a==7 || a==9 a==7 a==5 a==2 || a==4 || a==5 || a==7 || a==9 a==2 a 2 a==4 a 4 a==5 a 5 a==7 a 7 a==9 a 9 System.out.println("hon") System.out.println System.out System System.out "hon" if(a==0 || a==1 || a==6 || a==8)
System.out.println("pon");
else if(a==3)
System.out.println("bon"); a==0 || a==1 || a==6 || a==8 a==6 a==0 || a==1 || a==6 || a==8 a==0 a 0 a==1 a 1 a==6 a 6 a==8 a 8 System.out.println("pon") System.out.println System.out System System.out "pon" if(a==3)
System.out.println("bon"); a==3 a 3 System.out.println("bon") System.out.println System.out System System.out "bon" String args[] args public class Main
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
int t=sc.nextInt();
int a=t%10;
if(a==2 || a==4 || a==5 || a==7 || a==9)
System.out.println("hon");
else if(a==0 || a==1 || a==6 || a==8)
System.out.println("pon");
else if(a==3)
System.out.println("bon");

}
} public class Main
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
int t=sc.nextInt();
int a=t%10;
if(a==2 || a==4 || a==5 || a==7 || a==9)
System.out.println("hon");
else if(a==0 || a==1 || a==6 || a==8)
System.out.println("pon");
else if(a==3)
System.out.println("bon");

}
} Main
import java.util.*;
public class Main
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
int t=sc.nextInt();
int a=t%10;
if(a==2 || a==4 || a==5 || a==7 || a==9)
System.out.println("hon");
else if(a==0 || a==1 || a==6 || a==8)
System.out.println("pon");
else if(a==3)
System.out.println("bon");

}
}
 