public class Main {

	public static void main(String[] args) {
		int num = new java.util.Scanner(System.in).nextInt()%10;
		int[] hon = {2,4,5,7,9};
		int[] pon = {0,1,6,8};
		int bon = 3;
		int times = hon.length+pon.length;
		for ( int i=0 ; i<times ; i++ ) {
			if ( num == hon[i]) {
				System.out.println("hon");
				break;
			} else if ( num == pon[i] ) {
				System.out.println("pon");
				break;
			} else if ( num == bon ) {
				System.out.println("bon");
				break;
			}
		}
	}

} public class Main {

	public static void main(String[] args) {
		int num = new java.util.Scanner(System.in).nextInt()%10;
		int[] hon = {2,4,5,7,9};
		int[] pon = {0,1,6,8};
		int bon = 3;
		int times = hon.length+pon.length;
		for ( int i=0 ; i<times ; i++ ) {
			if ( num == hon[i]) {
				System.out.println("hon");
				break;
			} else if ( num == pon[i] ) {
				System.out.println("pon");
				break;
			} else if ( num == bon ) {
				System.out.println("bon");
				break;
			}
		}
	}

} Main public static void main(String[] args) {
		int num = new java.util.Scanner(System.in).nextInt()%10;
		int[] hon = {2,4,5,7,9};
		int[] pon = {0,1,6,8};
		int bon = 3;
		int times = hon.length+pon.length;
		for ( int i=0 ; i<times ; i++ ) {
			if ( num == hon[i]) {
				System.out.println("hon");
				break;
			} else if ( num == pon[i] ) {
				System.out.println("pon");
				break;
			} else if ( num == bon ) {
				System.out.println("bon");
				break;
			}
		}
	} main {
		int num = new java.util.Scanner(System.in).nextInt()%10;
		int[] hon = {2,4,5,7,9};
		int[] pon = {0,1,6,8};
		int bon = 3;
		int times = hon.length+pon.length;
		for ( int i=0 ; i<times ; i++ ) {
			if ( num == hon[i]) {
				System.out.println("hon");
				break;
			} else if ( num == pon[i] ) {
				System.out.println("pon");
				break;
			} else if ( num == bon ) {
				System.out.println("bon");
				break;
			}
		}
	} int num = new java.util.Scanner(System.in).nextInt()%10; num new java.util.Scanner(System.in).nextInt()%10 new java.util.Scanner(System.in).nextInt() new java.util.Scanner(System.in).nextInt new java.util.Scanner(System.in) 10 int[] hon = {2,4,5,7,9}; hon {2,4,5,7,9} 2 4 5 7 9 int[] pon = {0,1,6,8}; pon {0,1,6,8} 0 1 6 8 int bon = 3; bon 3 int times = hon.length+pon.length; times hon.length+pon.length hon.length hon hon.length pon.length pon pon.length for ( int i=0 ; i<times ; i++ ) {
			if ( num == hon[i]) {
				System.out.println("hon");
				break;
			} else if ( num == pon[i] ) {
				System.out.println("pon");
				break;
			} else if ( num == bon ) {
				System.out.println("bon");
				break;
			}
		} int i=0 ; int i=0 ; i 0 i<times i times i++ i++ i {
			if ( num == hon[i]) {
				System.out.println("hon");
				break;
			} else if ( num == pon[i] ) {
				System.out.println("pon");
				break;
			} else if ( num == bon ) {
				System.out.println("bon");
				break;
			}
		} {
			if ( num == hon[i]) {
				System.out.println("hon");
				break;
			} else if ( num == pon[i] ) {
				System.out.println("pon");
				break;
			} else if ( num == bon ) {
				System.out.println("bon");
				break;
			}
		} if ( num == hon[i]) {
				System.out.println("hon");
				break;
			} else if ( num == pon[i] ) {
				System.out.println("pon");
				break;
			} else if ( num == bon ) {
				System.out.println("bon");
				break;
			} num == hon[i] num hon[i] hon i {
				System.out.println("hon");
				break;
			} System.out.println("hon") System.out.println System.out System System.out "hon" break; if ( num == pon[i] ) {
				System.out.println("pon");
				break;
			} else if ( num == bon ) {
				System.out.println("bon");
				break;
			} num == pon[i] num pon[i] pon i {
				System.out.println("pon");
				break;
			} System.out.println("pon") System.out.println System.out System System.out "pon" break; if ( num == bon ) {
				System.out.println("bon");
				break;
			} num == bon num bon {
				System.out.println("bon");
				break;
			} System.out.println("bon") System.out.println System.out System System.out "bon" break; String[] args args public class Main {

	public static void main(String[] args) {
		int num = new java.util.Scanner(System.in).nextInt()%10;
		int[] hon = {2,4,5,7,9};
		int[] pon = {0,1,6,8};
		int bon = 3;
		int times = hon.length+pon.length;
		for ( int i=0 ; i<times ; i++ ) {
			if ( num == hon[i]) {
				System.out.println("hon");
				break;
			} else if ( num == pon[i] ) {
				System.out.println("pon");
				break;
			} else if ( num == bon ) {
				System.out.println("bon");
				break;
			}
		}
	}

} public class Main {

	public static void main(String[] args) {
		int num = new java.util.Scanner(System.in).nextInt()%10;
		int[] hon = {2,4,5,7,9};
		int[] pon = {0,1,6,8};
		int bon = 3;
		int times = hon.length+pon.length;
		for ( int i=0 ; i<times ; i++ ) {
			if ( num == hon[i]) {
				System.out.println("hon");
				break;
			} else if ( num == pon[i] ) {
				System.out.println("pon");
				break;
			} else if ( num == bon ) {
				System.out.println("bon");
				break;
			}
		}
	}

} Main
public class Main {

	public static void main(String[] args) {
		int num = new java.util.Scanner(System.in).nextInt()%10;
		int[] hon = {2,4,5,7,9};
		int[] pon = {0,1,6,8};
		int bon = 3;
		int times = hon.length+pon.length;
		for ( int i=0 ; i<times ; i++ ) {
			if ( num == hon[i]) {
				System.out.println("hon");
				break;
			} else if ( num == pon[i] ) {
				System.out.println("pon");
				break;
			} else if ( num == bon ) {
				System.out.println("bon");
				break;
			}
		}
	}

}
