import java.util.*;
import java.io.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int a = n % 10;
        if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9)
            System.out.println("hon");
            else if(a == 3)
                System.out.println("bon");
                else
                    System.out.println("pon");
    }
} import java.util.*; util.* java import java.io.*; io.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int a = n % 10;
        if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9)
            System.out.println("hon");
            else if(a == 3)
                System.out.println("bon");
                else
                    System.out.println("pon");
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int a = n % 10;
        if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9)
            System.out.println("hon");
            else if(a == 3)
                System.out.println("bon");
                else
                    System.out.println("pon");
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int a = n % 10;
        if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9)
            System.out.println("hon");
            else if(a == 3)
                System.out.println("bon");
                else
                    System.out.println("pon");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int a = n % 10; a n % 10 n 10 if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9)
            System.out.println("hon");
            else if(a == 3)
                System.out.println("bon");
                else
                    System.out.println("pon"); a == 2 || a == 4 || a == 5 || a == 7 || a == 9 a == 7 a == 5 a == 2 || a == 4 || a == 5 || a == 7 || a == 9 a == 2 a 2 a == 4 a 4 a == 5 a 5 a == 7 a 7 a == 9 a 9 System.out.println("hon") System.out.println System.out System System.out "hon" if(a == 3)
                System.out.println("bon");
                else
                    System.out.println("pon"); a == 3 a 3 System.out.println("bon") System.out.println System.out System System.out "bon" System.out.println("pon") System.out.println System.out System System.out "pon" String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int a = n % 10;
        if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9)
            System.out.println("hon");
            else if(a == 3)
                System.out.println("bon");
                else
                    System.out.println("pon");
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int a = n % 10;
        if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9)
            System.out.println("hon");
            else if(a == 3)
                System.out.println("bon");
                else
                    System.out.println("pon");
    }
} Main
import java.util.*;
import java.io.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int a = n % 10;
        if (a == 2 || a == 4 || a == 5 || a == 7 || a == 9)
            System.out.println("hon");
            else if(a == 3)
                System.out.println("bon");
                else
                    System.out.println("pon");
    }
}