import java.util.Scanner;

public class one {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		
		Scanner scan = new Scanner(System.in);
		int n =scan.nextInt();
		
		
		System.out.println(n);
		
	
		switch(n % 10) {
		
		case 2:
			System.out.println("hon");
			break;
		case 4:
			System.out.println("hon");
			break;
		case 5:
			System.out.println("hon");
			break;
		case 7:
			System.out.println("hon");
			break;
		case 9:
			System.out.println("hon");
			break;
		 
		case 0:
			System.out.println("pon");
			break;
		case 1:
			System.out.println("pon");
			break;
		case 6:
			System.out.println("pon");
			break;
		case 8: 
			System.out.println("pon");
			break;
		
		case 3:
			System.out.println("bon");
			break;
		
		default: break;
		
		}
			
	}
}
