import java.util.Scanner;	
public class Main {
    public static void main(String[] args) throws Exception {
    Scanner stdIn= new Scanner(System.in);
    int n=stdIn.nextInt();
    int a=n%10;
    int [] hon={2,4,5,7,9};
    int [] pon={0,1,6,8};
    for(int t=0;t<hon.length;t++){
      if(a==hon[t])System.out.println("hon");
    }
    for(int t=0;t<pon.length;t++){
      if(a==pon[t])System.out.println("pon");
    }
    if(a==3)System.out.println("bon");
  }
}
 

    
      
    
     import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) throws Exception {
    Scanner stdIn= new Scanner(System.in);
    int n=stdIn.nextInt();
    int a=n%10;
    int [] hon={2,4,5,7,9};
    int [] pon={0,1,6,8};
    for(int t=0;t<hon.length;t++){
      if(a==hon[t])System.out.println("hon");
    }
    for(int t=0;t<pon.length;t++){
      if(a==pon[t])System.out.println("pon");
    }
    if(a==3)System.out.println("bon");
  }
} Main public static void main(String[] args) throws Exception {
    Scanner stdIn= new Scanner(System.in);
    int n=stdIn.nextInt();
    int a=n%10;
    int [] hon={2,4,5,7,9};
    int [] pon={0,1,6,8};
    for(int t=0;t<hon.length;t++){
      if(a==hon[t])System.out.println("hon");
    }
    for(int t=0;t<pon.length;t++){
      if(a==pon[t])System.out.println("pon");
    }
    if(a==3)System.out.println("bon");
  } main {
    Scanner stdIn= new Scanner(System.in);
    int n=stdIn.nextInt();
    int a=n%10;
    int [] hon={2,4,5,7,9};
    int [] pon={0,1,6,8};
    for(int t=0;t<hon.length;t++){
      if(a==hon[t])System.out.println("hon");
    }
    for(int t=0;t<pon.length;t++){
      if(a==pon[t])System.out.println("pon");
    }
    if(a==3)System.out.println("bon");
  } Scanner stdIn= new Scanner(System.in); stdIn new Scanner(System.in) int n=stdIn.nextInt(); n stdIn.nextInt() stdIn.nextInt stdIn int a=n%10; a n%10 n 10 int [] hon={2,4,5,7,9}; hon {2,4,5,7,9} 2 4 5 7 9 int [] pon={0,1,6,8}; pon {0,1,6,8} 0 1 6 8 for(int t=0;t<hon.length;t++){
      if(a==hon[t])System.out.println("hon");
    } int t=0; int t=0; t 0 t<hon.length t hon.length hon hon.length t++ t++ t {
      if(a==hon[t])System.out.println("hon");
    } {
      if(a==hon[t])System.out.println("hon");
    } if(a==hon[t])System.out.println("hon"); a==hon[t] a hon[t] hon t System.out.println("hon") System.out.println System.out System System.out "hon" for(int t=0;t<pon.length;t++){
      if(a==pon[t])System.out.println("pon");
    } int t=0; int t=0; t 0 t<pon.length t pon.length pon pon.length t++ t++ t {
      if(a==pon[t])System.out.println("pon");
    } {
      if(a==pon[t])System.out.println("pon");
    } if(a==pon[t])System.out.println("pon"); a==pon[t] a pon[t] pon t System.out.println("pon") System.out.println System.out System System.out "pon" if(a==3)System.out.println("bon"); a==3 a 3 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) throws Exception {
    Scanner stdIn= new Scanner(System.in);
    int n=stdIn.nextInt();
    int a=n%10;
    int [] hon={2,4,5,7,9};
    int [] pon={0,1,6,8};
    for(int t=0;t<hon.length;t++){
      if(a==hon[t])System.out.println("hon");
    }
    for(int t=0;t<pon.length;t++){
      if(a==pon[t])System.out.println("pon");
    }
    if(a==3)System.out.println("bon");
  }
} public class Main {
    public static void main(String[] args) throws Exception {
    Scanner stdIn= new Scanner(System.in);
    int n=stdIn.nextInt();
    int a=n%10;
    int [] hon={2,4,5,7,9};
    int [] pon={0,1,6,8};
    for(int t=0;t<hon.length;t++){
      if(a==hon[t])System.out.println("hon");
    }
    for(int t=0;t<pon.length;t++){
      if(a==pon[t])System.out.println("pon");
    }
    if(a==3)System.out.println("bon");
  }
} Main
import java.util.Scanner;	
public class Main {
    public static void main(String[] args) throws Exception {
    Scanner stdIn= new Scanner(System.in);
    int n=stdIn.nextInt();
    int a=n%10;
    int [] hon={2,4,5,7,9};
    int [] pon={0,1,6,8};
    for(int t=0;t<hon.length;t++){
      if(a==hon[t])System.out.println("hon");
    }
    for(int t=0;t<pon.length;t++){
      if(a==pon[t])System.out.println("pon");
    }
    if(a==3)System.out.println("bon");
  }
}
 

    
      
    
    