import java.util.Arrays;
import java.util.Scanner;


public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		String hitoketa = n.substring(n.length() - 1, n.length());
		String[] hon = {"2","4","5","7","9"};
		String[] pon = {"0","1","6","8"};
		String[] bon = {"3"};
		
		if(Arrays.asList(hon).contains(hitoketa) ) {
			System.out.println("hon");
		}else if(Arrays.asList(pon).contains(hitoketa)) {
			System.out.println("pon");
		}else if(Arrays.asList(bon).contains(hitoketa)) {
			System.out.println("bon");
		}

		sc.close();
	}

} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		String hitoketa = n.substring(n.length() - 1, n.length());
		String[] hon = {"2","4","5","7","9"};
		String[] pon = {"0","1","6","8"};
		String[] bon = {"3"};
		
		if(Arrays.asList(hon).contains(hitoketa) ) {
			System.out.println("hon");
		}else if(Arrays.asList(pon).contains(hitoketa)) {
			System.out.println("pon");
		}else if(Arrays.asList(bon).contains(hitoketa)) {
			System.out.println("bon");
		}

		sc.close();
	}

} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		String hitoketa = n.substring(n.length() - 1, n.length());
		String[] hon = {"2","4","5","7","9"};
		String[] pon = {"0","1","6","8"};
		String[] bon = {"3"};
		
		if(Arrays.asList(hon).contains(hitoketa) ) {
			System.out.println("hon");
		}else if(Arrays.asList(pon).contains(hitoketa)) {
			System.out.println("pon");
		}else if(Arrays.asList(bon).contains(hitoketa)) {
			System.out.println("bon");
		}

		sc.close();
	} main {

		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		String hitoketa = n.substring(n.length() - 1, n.length());
		String[] hon = {"2","4","5","7","9"};
		String[] pon = {"0","1","6","8"};
		String[] bon = {"3"};
		
		if(Arrays.asList(hon).contains(hitoketa) ) {
			System.out.println("hon");
		}else if(Arrays.asList(pon).contains(hitoketa)) {
			System.out.println("pon");
		}else if(Arrays.asList(bon).contains(hitoketa)) {
			System.out.println("bon");
		}

		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String n = sc.next(); n sc.next() sc.next sc String hitoketa = n.substring(n.length() - 1, n.length()); hitoketa n.substring(n.length() - 1, n.length()) n.substring n n.length() - 1 n.length() n.length n 1 n.length() n.length n String[] hon = {"2","4","5","7","9"}; hon {"2","4","5","7","9"} "2" "4" "5" "7" "9" String[] pon = {"0","1","6","8"}; pon {"0","1","6","8"} "0" "1" "6" "8" String[] bon = {"3"}; bon {"3"} "3" if(Arrays.asList(hon).contains(hitoketa) ) {
			System.out.println("hon");
		}else if(Arrays.asList(pon).contains(hitoketa)) {
			System.out.println("pon");
		}else if(Arrays.asList(bon).contains(hitoketa)) {
			System.out.println("bon");
		} Arrays.asList(hon).contains(hitoketa) Arrays.asList(hon).contains Arrays.asList(hon) Arrays.asList Arrays hon hitoketa {
			System.out.println("hon");
		} System.out.println("hon") System.out.println System.out System System.out "hon" if(Arrays.asList(pon).contains(hitoketa)) {
			System.out.println("pon");
		}else if(Arrays.asList(bon).contains(hitoketa)) {
			System.out.println("bon");
		} Arrays.asList(pon).contains(hitoketa) Arrays.asList(pon).contains Arrays.asList(pon) Arrays.asList Arrays pon hitoketa {
			System.out.println("pon");
		} System.out.println("pon") System.out.println System.out System System.out "pon" if(Arrays.asList(bon).contains(hitoketa)) {
			System.out.println("bon");
		} Arrays.asList(bon).contains(hitoketa) Arrays.asList(bon).contains Arrays.asList(bon) Arrays.asList Arrays bon hitoketa {
			System.out.println("bon");
		} System.out.println("bon") System.out.println System.out System System.out "bon" sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		String hitoketa = n.substring(n.length() - 1, n.length());
		String[] hon = {"2","4","5","7","9"};
		String[] pon = {"0","1","6","8"};
		String[] bon = {"3"};
		
		if(Arrays.asList(hon).contains(hitoketa) ) {
			System.out.println("hon");
		}else if(Arrays.asList(pon).contains(hitoketa)) {
			System.out.println("pon");
		}else if(Arrays.asList(bon).contains(hitoketa)) {
			System.out.println("bon");
		}

		sc.close();
	}

} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		String hitoketa = n.substring(n.length() - 1, n.length());
		String[] hon = {"2","4","5","7","9"};
		String[] pon = {"0","1","6","8"};
		String[] bon = {"3"};
		
		if(Arrays.asList(hon).contains(hitoketa) ) {
			System.out.println("hon");
		}else if(Arrays.asList(pon).contains(hitoketa)) {
			System.out.println("pon");
		}else if(Arrays.asList(bon).contains(hitoketa)) {
			System.out.println("bon");
		}

		sc.close();
	}

} Main
import java.util.Arrays;
import java.util.Scanner;


public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		String n = sc.next();
		String hitoketa = n.substring(n.length() - 1, n.length());
		String[] hon = {"2","4","5","7","9"};
		String[] pon = {"0","1","6","8"};
		String[] bon = {"3"};
		
		if(Arrays.asList(hon).contains(hitoketa) ) {
			System.out.println("hon");
		}else if(Arrays.asList(pon).contains(hitoketa)) {
			System.out.println("pon");
		}else if(Arrays.asList(bon).contains(hitoketa)) {
			System.out.println("bon");
		}

		sc.close();
	}

}