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