import java.io.*;
import java.util.*;
public class Main {
public static void main (String[]args) {

    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    try {
   
    int N = Integer.parseInt(br.readLine());
    String res = "";

    if((N%10 == 2)||(N%10 == 4)||(N%10 == 5)||(N%10 == 7)||(N%10 == 9)) {
        res = "hon";
    }
    else if((N%10 == 0) || (N%10 == 1) || (N%10 == 6) || (N%10==8)) {
        res = "pon";
    } 
    else{
        res = "bon";
    }
    System.out.println(res);
 


       
    }catch (Exception e) {
       }
       }
   } import java.io.*; io.* java import java.util.*; util.* java public class Main {
public static void main (String[]args) {

    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    try {
   
    int N = Integer.parseInt(br.readLine());
    String res = "";

    if((N%10 == 2)||(N%10 == 4)||(N%10 == 5)||(N%10 == 7)||(N%10 == 9)) {
        res = "hon";
    }
    else if((N%10 == 0) || (N%10 == 1) || (N%10 == 6) || (N%10==8)) {
        res = "pon";
    } 
    else{
        res = "bon";
    }
    System.out.println(res);
 


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

    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    try {
   
    int N = Integer.parseInt(br.readLine());
    String res = "";

    if((N%10 == 2)||(N%10 == 4)||(N%10 == 5)||(N%10 == 7)||(N%10 == 9)) {
        res = "hon";
    }
    else if((N%10 == 0) || (N%10 == 1) || (N%10 == 6) || (N%10==8)) {
        res = "pon";
    } 
    else{
        res = "bon";
    }
    System.out.println(res);
 


       
    }catch (Exception e) {
       }
       } main {

    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    try {
   
    int N = Integer.parseInt(br.readLine());
    String res = "";

    if((N%10 == 2)||(N%10 == 4)||(N%10 == 5)||(N%10 == 7)||(N%10 == 9)) {
        res = "hon";
    }
    else if((N%10 == 0) || (N%10 == 1) || (N%10 == 6) || (N%10==8)) {
        res = "pon";
    } 
    else{
        res = "bon";
    }
    System.out.println(res);
 


       
    }catch (Exception e) {
       }
       } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) try {
   
    int N = Integer.parseInt(br.readLine());
    String res = "";

    if((N%10 == 2)||(N%10 == 4)||(N%10 == 5)||(N%10 == 7)||(N%10 == 9)) {
        res = "hon";
    }
    else if((N%10 == 0) || (N%10 == 1) || (N%10 == 6) || (N%10==8)) {
        res = "pon";
    } 
    else{
        res = "bon";
    }
    System.out.println(res);
 


       
    }catch (Exception e) {
       } catch (Exception e) {
       } Exception e {
       } {
   
    int N = Integer.parseInt(br.readLine());
    String res = "";

    if((N%10 == 2)||(N%10 == 4)||(N%10 == 5)||(N%10 == 7)||(N%10 == 9)) {
        res = "hon";
    }
    else if((N%10 == 0) || (N%10 == 1) || (N%10 == 6) || (N%10==8)) {
        res = "pon";
    } 
    else{
        res = "bon";
    }
    System.out.println(res);
 


       
    } int N = Integer.parseInt(br.readLine()); N Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String res = ""; res "" if((N%10 == 2)||(N%10 == 4)||(N%10 == 5)||(N%10 == 7)||(N%10 == 9)) {
        res = "hon";
    }
    else if((N%10 == 0) || (N%10 == 1) || (N%10 == 6) || (N%10==8)) {
        res = "pon";
    } 
    else{
        res = "bon";
    } (N%10 == 2)||(N%10 == 4)||(N%10 == 5)||(N%10 == 7)||(N%10 == 9) (N%10 == 7) (N%10 == 5) (N%10 == 2)||(N%10 == 4)||(N%10 == 5)||(N%10 == 7)||(N%10 == 9) (N%10 == 2) N%10 N 10 2 (N%10 == 4) N%10 N 10 4 (N%10 == 5) N%10 N 10 5 (N%10 == 7) N%10 N 10 7 (N%10 == 9) N%10 N 10 9 {
        res = "hon";
    } res = "hon" res "hon" if((N%10 == 0) || (N%10 == 1) || (N%10 == 6) || (N%10==8)) {
        res = "pon";
    } 
    else{
        res = "bon";
    } (N%10 == 0) || (N%10 == 1) || (N%10 == 6) || (N%10==8) (N%10 == 6) (N%10 == 0) || (N%10 == 1) || (N%10 == 6) || (N%10==8) (N%10 == 0) N%10 N 10 0 (N%10 == 1) N%10 N 10 1 (N%10 == 6) N%10 N 10 6 (N%10==8) N%10 N 10 8 {
        res = "pon";
    } res = "pon" res "pon" {
        res = "bon";
    } res = "bon" res "bon" System.out.println(res) System.out.println System.out System System.out res String[]args args public class Main {
public static void main (String[]args) {

    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    try {
   
    int N = Integer.parseInt(br.readLine());
    String res = "";

    if((N%10 == 2)||(N%10 == 4)||(N%10 == 5)||(N%10 == 7)||(N%10 == 9)) {
        res = "hon";
    }
    else if((N%10 == 0) || (N%10 == 1) || (N%10 == 6) || (N%10==8)) {
        res = "pon";
    } 
    else{
        res = "bon";
    }
    System.out.println(res);
 


       
    }catch (Exception e) {
       }
       }
   } public class Main {
public static void main (String[]args) {

    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    try {
   
    int N = Integer.parseInt(br.readLine());
    String res = "";

    if((N%10 == 2)||(N%10 == 4)||(N%10 == 5)||(N%10 == 7)||(N%10 == 9)) {
        res = "hon";
    }
    else if((N%10 == 0) || (N%10 == 1) || (N%10 == 6) || (N%10==8)) {
        res = "pon";
    } 
    else{
        res = "bon";
    }
    System.out.println(res);
 


       
    }catch (Exception e) {
       }
       }
   } Main
import java.io.*;
import java.util.*;
public class Main {
public static void main (String[]args) {

    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    try {
   
    int N = Integer.parseInt(br.readLine());
    String res = "";

    if((N%10 == 2)||(N%10 == 4)||(N%10 == 5)||(N%10 == 7)||(N%10 == 9)) {
        res = "hon";
    }
    else if((N%10 == 0) || (N%10 == 1) || (N%10 == 6) || (N%10==8)) {
        res = "pon";
    } 
    else{
        res = "bon";
    }
    System.out.println(res);
 


       
    }catch (Exception e) {
       }
       }
   }