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