import java.util.*;
public class Main{
	public static void main(String args[]){
		
		Scanner ob = new Scanner(System.in);
		int N = ob.nextInt();
		boolean C = true; 
		String R = "";
		
		while(C){
			N %= 10;
			C = false;
		}
		
		if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9)){
			R += "hon";
		}
		else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){
			R += "pon";
		}
		else if(N == 3){
			R += "bon";
		}
		System.out.println(R);
		//R = "";
		//C = true;
	}
} import java.util.*; util.* java public class Main{
	public static void main(String args[]){
		
		Scanner ob = new Scanner(System.in);
		int N = ob.nextInt();
		boolean C = true; 
		String R = "";
		
		while(C){
			N %= 10;
			C = false;
		}
		
		if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9)){
			R += "hon";
		}
		else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){
			R += "pon";
		}
		else if(N == 3){
			R += "bon";
		}
		System.out.println(R);
		//R = "";
		//C = true;
	}
} Main public static void main(String args[]){
		
		Scanner ob = new Scanner(System.in);
		int N = ob.nextInt();
		boolean C = true; 
		String R = "";
		
		while(C){
			N %= 10;
			C = false;
		}
		
		if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9)){
			R += "hon";
		}
		else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){
			R += "pon";
		}
		else if(N == 3){
			R += "bon";
		}
		System.out.println(R);
		//R = "";
		//C = true;
	} main {
		
		Scanner ob = new Scanner(System.in);
		int N = ob.nextInt();
		boolean C = true; 
		String R = "";
		
		while(C){
			N %= 10;
			C = false;
		}
		
		if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9)){
			R += "hon";
		}
		else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){
			R += "pon";
		}
		else if(N == 3){
			R += "bon";
		}
		System.out.println(R);
		//R = "";
		//C = true;
	} Scanner ob = new Scanner(System.in); ob new Scanner(System.in) int N = ob.nextInt(); N ob.nextInt() ob.nextInt ob boolean C = true; C true String R = ""; R "" while(C){
			N %= 10;
			C = false;
		} C {
			N %= 10;
			C = false;
		} N %= 10 N 10 C = false C false if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9)){
			R += "hon";
		}
		else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){
			R += "pon";
		}
		else if(N == 3){
			R += "bon";
		} (N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9) (N == 7) (N == 5) (N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9) (N == 2) N 2 (N == 4) N 4 (N == 5) N 5 (N == 7) N 7 (N ==9) N 9 {
			R += "hon";
		} R += "hon" R "hon" if((N == 0) || (N == 1) || (N == 6) || (N == 8)){
			R += "pon";
		}
		else if(N == 3){
			R += "bon";
		} (N == 0) || (N == 1) || (N == 6) || (N == 8) (N == 6) (N == 0) || (N == 1) || (N == 6) || (N == 8) (N == 0) N 0 (N == 1) N 1 (N == 6) N 6 (N == 8) N 8 {
			R += "pon";
		} R += "pon" R "pon" if(N == 3){
			R += "bon";
		} N == 3 N 3 {
			R += "bon";
		} R += "bon" R "bon" System.out.println(R) System.out.println System.out System System.out R String args[] args public class Main{
	public static void main(String args[]){
		
		Scanner ob = new Scanner(System.in);
		int N = ob.nextInt();
		boolean C = true; 
		String R = "";
		
		while(C){
			N %= 10;
			C = false;
		}
		
		if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9)){
			R += "hon";
		}
		else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){
			R += "pon";
		}
		else if(N == 3){
			R += "bon";
		}
		System.out.println(R);
		//R = "";
		//C = true;
	}
} public class Main{
	public static void main(String args[]){
		
		Scanner ob = new Scanner(System.in);
		int N = ob.nextInt();
		boolean C = true; 
		String R = "";
		
		while(C){
			N %= 10;
			C = false;
		}
		
		if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9)){
			R += "hon";
		}
		else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){
			R += "pon";
		}
		else if(N == 3){
			R += "bon";
		}
		System.out.println(R);
		//R = "";
		//C = true;
	}
} Main
import java.util.*;
public class Main{
	public static void main(String args[]){
		
		Scanner ob = new Scanner(System.in);
		int N = ob.nextInt();
		boolean C = true; 
		String R = "";
		
		while(C){
			N %= 10;
			C = false;
		}
		
		if((N == 2) || (N == 4) || (N == 5) || (N == 7) || (N ==9)){
			R += "hon";
		}
		else if((N == 0) || (N == 1) || (N == 6) || (N == 8)){
			R += "pon";
		}
		else if(N == 3){
			R += "bon";
		}
		System.out.println(R);
		//R = "";
		//C = true;
	}
}