import java.util.Scanner;
import java.util.Arrays;
public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		String t = "";
		switch(n%10){
		case 3:
			t += "bon";
			break;
		case 0:
		case 1:
		case 6:
		case 8:
			t += "pon";
			break;
		default:
			t += "hon";
		}
		System.out.println(t);
	}
}
 import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		String t = "";
		switch(n%10){
		case 3:
			t += "bon";
			break;
		case 0:
		case 1:
		case 6:
		case 8:
			t += "pon";
			break;
		default:
			t += "hon";
		}
		System.out.println(t);
	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		String t = "";
		switch(n%10){
		case 3:
			t += "bon";
			break;
		case 0:
		case 1:
		case 6:
		case 8:
			t += "pon";
			break;
		default:
			t += "hon";
		}
		System.out.println(t);
	} main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		String t = "";
		switch(n%10){
		case 3:
			t += "bon";
			break;
		case 0:
		case 1:
		case 6:
		case 8:
			t += "pon";
			break;
		default:
			t += "hon";
		}
		System.out.println(t);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan String t = ""; t "" switch(n%10){
		case 3:
			t += "bon";
			break;
		case 0:
		case 1:
		case 6:
		case 8:
			t += "pon";
			break;
		default:
			t += "hon";
		} n%10 n 10 case 3: 3 case 3: t += "bon" t "bon" break; case 0: 0 case 0: case 1: 1 case 1: case 6: 6 case 6: case 8: 8 case 8: t += "pon" t "pon" break; default: default: t += "hon" t "hon" System.out.println(t) System.out.println System.out System System.out t String[] args args public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		String t = "";
		switch(n%10){
		case 3:
			t += "bon";
			break;
		case 0:
		case 1:
		case 6:
		case 8:
			t += "pon";
			break;
		default:
			t += "hon";
		}
		System.out.println(t);
	}
} public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		String t = "";
		switch(n%10){
		case 3:
			t += "bon";
			break;
		case 0:
		case 1:
		case 6:
		case 8:
			t += "pon";
			break;
		default:
			t += "hon";
		}
		System.out.println(t);
	}
} Main
import java.util.Scanner;
import java.util.Arrays;
public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		String t = "";
		switch(n%10){
		case 3:
			t += "bon";
			break;
		case 0:
		case 1:
		case 6:
		case 8:
			t += "pon";
			break;
		default:
			t += "hon";
		}
		System.out.println(t);
	}
}

