
import java.util.Scanner;

public class Main {
    Scanner in = new Scanner(System.in);

    String run() {
        int N = in.nextInt();
        switch (N % 10) {
            case 3:
                return "bon";
            case 0:
            case 1:
            case 6:
            case 8:
                return "pon";
            default:
                return "hon";
        }
    }

    public static void main(String[] args) {
        System.out.println(new Main().run());
    }
} import java.util.Scanner; Scanner java.util public class Main {
    Scanner in = new Scanner(System.in);

    String run() {
        int N = in.nextInt();
        switch (N % 10) {
            case 3:
                return "bon";
            case 0:
            case 1:
            case 6:
            case 8:
                return "pon";
            default:
                return "hon";
        }
    }

    public static void main(String[] args) {
        System.out.println(new Main().run());
    }
} Main Scanner in = new Scanner(System.in); in new Scanner(System.in) String run() {
        int N = in.nextInt();
        switch (N % 10) {
            case 3:
                return "bon";
            case 0:
            case 1:
            case 6:
            case 8:
                return "pon";
            default:
                return "hon";
        }
    } run {
        int N = in.nextInt();
        switch (N % 10) {
            case 3:
                return "bon";
            case 0:
            case 1:
            case 6:
            case 8:
                return "pon";
            default:
                return "hon";
        }
    } int N = in.nextInt(); N in.nextInt() in.nextInt in switch (N % 10) {
            case 3:
                return "bon";
            case 0:
            case 1:
            case 6:
            case 8:
                return "pon";
            default:
                return "hon";
        } N % 10 N 10 case 3: 3 case 3: return "bon"; "bon" case 0: 0 case 0: case 1: 1 case 1: case 6: 6 case 6: case 8: 8 case 8: return "pon"; "pon" default: default: return "hon"; "hon" public static void main(String[] args) {
        System.out.println(new Main().run());
    } main {
        System.out.println(new Main().run());
    } System.out.println(new Main().run()) System.out.println System.out System System.out new Main().run() new Main().run new Main() String[] args args public class Main {
    Scanner in = new Scanner(System.in);

    String run() {
        int N = in.nextInt();
        switch (N % 10) {
            case 3:
                return "bon";
            case 0:
            case 1:
            case 6:
            case 8:
                return "pon";
            default:
                return "hon";
        }
    }

    public static void main(String[] args) {
        System.out.println(new Main().run());
    }
} public class Main {
    Scanner in = new Scanner(System.in);

    String run() {
        int N = in.nextInt();
        switch (N % 10) {
            case 3:
                return "bon";
            case 0:
            case 1:
            case 6:
            case 8:
                return "pon";
            default:
                return "hon";
        }
    }

    public static void main(String[] args) {
        System.out.println(new Main().run());
    }
} Main

import java.util.Scanner;

public class Main {
    Scanner in = new Scanner(System.in);

    String run() {
        int N = in.nextInt();
        switch (N % 10) {
            case 3:
                return "bon";
            case 0:
            case 1:
            case 6:
            case 8:
                return "pon";
            default:
                return "hon";
        }
    }

    public static void main(String[] args) {
        System.out.println(new Main().run());
    }
}
