import java.util.*;
import java.lang.Math;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    n %= 10;
    
    int hons[] = {2,4,5,7,9};
    int pons[] = {0,1,6,8};
    int bons[] = {3};
    
    for(int i = 0; i< hons.length;i++){
    	if(n == hons[i]) System.out.println("hon");
    }
    
    for(int i = 0; i< pons.length;i++){
    	if(n == pons[i]) System.out.println("pon");
    }
    
    for(int i = 0; i< bons.length;i++){
    	if(n == bons[i]) System.out.println("bon");
    }
    
  }
} import java.util.*; util.* java import java.lang.Math; Math java.lang public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    n %= 10;
    
    int hons[] = {2,4,5,7,9};
    int pons[] = {0,1,6,8};
    int bons[] = {3};
    
    for(int i = 0; i< hons.length;i++){
    	if(n == hons[i]) System.out.println("hon");
    }
    
    for(int i = 0; i< pons.length;i++){
    	if(n == pons[i]) System.out.println("pon");
    }
    
    for(int i = 0; i< bons.length;i++){
    	if(n == bons[i]) System.out.println("bon");
    }
    
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    n %= 10;
    
    int hons[] = {2,4,5,7,9};
    int pons[] = {0,1,6,8};
    int bons[] = {3};
    
    for(int i = 0; i< hons.length;i++){
    	if(n == hons[i]) System.out.println("hon");
    }
    
    for(int i = 0; i< pons.length;i++){
    	if(n == pons[i]) System.out.println("pon");
    }
    
    for(int i = 0; i< bons.length;i++){
    	if(n == bons[i]) System.out.println("bon");
    }
    
  } main {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    n %= 10;
    
    int hons[] = {2,4,5,7,9};
    int pons[] = {0,1,6,8};
    int bons[] = {3};
    
    for(int i = 0; i< hons.length;i++){
    	if(n == hons[i]) System.out.println("hon");
    }
    
    for(int i = 0; i< pons.length;i++){
    	if(n == pons[i]) System.out.println("pon");
    }
    
    for(int i = 0; i< bons.length;i++){
    	if(n == bons[i]) System.out.println("bon");
    }
    
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc n %= 10 n 10 int hons[] = {2,4,5,7,9}; hons {2,4,5,7,9} 2 4 5 7 9 int pons[] = {0,1,6,8}; pons {0,1,6,8} 0 1 6 8 int bons[] = {3}; bons {3} 3 for(int i = 0; i< hons.length;i++){
    	if(n == hons[i]) System.out.println("hon");
    } int i = 0; int i = 0; i 0 i< hons.length i hons.length hons hons.length i++ i++ i {
    	if(n == hons[i]) System.out.println("hon");
    } {
    	if(n == hons[i]) System.out.println("hon");
    } if(n == hons[i]) System.out.println("hon"); n == hons[i] n hons[i] hons i System.out.println("hon") System.out.println System.out System System.out "hon" for(int i = 0; i< pons.length;i++){
    	if(n == pons[i]) System.out.println("pon");
    } int i = 0; int i = 0; i 0 i< pons.length i pons.length pons pons.length i++ i++ i {
    	if(n == pons[i]) System.out.println("pon");
    } {
    	if(n == pons[i]) System.out.println("pon");
    } if(n == pons[i]) System.out.println("pon"); n == pons[i] n pons[i] pons i System.out.println("pon") System.out.println System.out System System.out "pon" for(int i = 0; i< bons.length;i++){
    	if(n == bons[i]) System.out.println("bon");
    } int i = 0; int i = 0; i 0 i< bons.length i bons.length bons bons.length i++ i++ i {
    	if(n == bons[i]) System.out.println("bon");
    } {
    	if(n == bons[i]) System.out.println("bon");
    } if(n == bons[i]) System.out.println("bon"); n == bons[i] n bons[i] bons i System.out.println("bon") System.out.println System.out System System.out "bon" String[] args args public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    n %= 10;
    
    int hons[] = {2,4,5,7,9};
    int pons[] = {0,1,6,8};
    int bons[] = {3};
    
    for(int i = 0; i< hons.length;i++){
    	if(n == hons[i]) System.out.println("hon");
    }
    
    for(int i = 0; i< pons.length;i++){
    	if(n == pons[i]) System.out.println("pon");
    }
    
    for(int i = 0; i< bons.length;i++){
    	if(n == bons[i]) System.out.println("bon");
    }
    
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int n = sc.nextInt();
    n %= 10;
    
    int hons[] = {2,4,5,7,9};
    int pons[] = {0,1,6,8};
    int bons[] = {3};
    
    for(int i = 0; i< hons.length;i++){
    	if(n == hons[i]) System.out.println("hon");
    }
    
    for(int i = 0; i< pons.length;i++){
    	if(n == pons[i]) System.out.println("pon");
    }
    
    for(int i = 0; i< bons.length;i++){
    	if(n == bons[i]) System.out.println("bon");
    }
    
  }
} Main
import java.util.*;
import java.lang.Math;

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