import java.util.*;
import java.io.PrintWriter;
import static java.lang.Integer.*;
import static java.lang.Long.*;
import static java.lang.Math.*;
import static java.lang.System.*;

public class Main {
	public static final int MOD = 1000000007;
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		sc.close();
		String ans="";
		switch(n%10) {
		case 2:
		case 4:
		case 5:
		case 7:
		case 9:
			ans="hon";
			break;
		case 0:
		case 1:
		case 6:
		case 8:
			ans="pon";
			break;
		case 3:
			ans="bon";
			break;
		}
		out.println(ans);
	}
} import java.util.*; util.* java import java.io.PrintWriter; PrintWriter java.io import static java.lang.Integer.*; import static java.lang.Integer.*; import static java.lang.Integer.*; import static java.lang.Long.*; import static java.lang.Long.*; import static java.lang.Long.*; import static java.lang.Math.*; import static java.lang.Math.*; import static java.lang.Math.*; import static java.lang.System.*; import static java.lang.System.*; import static java.lang.System.*; public class Main {
	public static final int MOD = 1000000007;
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		sc.close();
		String ans="";
		switch(n%10) {
		case 2:
		case 4:
		case 5:
		case 7:
		case 9:
			ans="hon";
			break;
		case 0:
		case 1:
		case 6:
		case 8:
			ans="pon";
			break;
		case 3:
			ans="bon";
			break;
		}
		out.println(ans);
	}
} Main public static final int MOD = 1000000007; MOD 1000000007 public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		sc.close();
		String ans="";
		switch(n%10) {
		case 2:
		case 4:
		case 5:
		case 7:
		case 9:
			ans="hon";
			break;
		case 0:
		case 1:
		case 6:
		case 8:
			ans="pon";
			break;
		case 3:
			ans="bon";
			break;
		}
		out.println(ans);
	} main {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		sc.close();
		String ans="";
		switch(n%10) {
		case 2:
		case 4:
		case 5:
		case 7:
		case 9:
			ans="hon";
			break;
		case 0:
		case 1:
		case 6:
		case 8:
			ans="pon";
			break;
		case 3:
			ans="bon";
			break;
		}
		out.println(ans);
	} int i i j; j Scanner sc = new Scanner(in); sc new Scanner(in) int n = parseInt(sc.next()); n parseInt(sc.next()) parseInt sc.next() sc.next sc sc.close() sc.close sc String ans=""; ans "" switch(n%10) {
		case 2:
		case 4:
		case 5:
		case 7:
		case 9:
			ans="hon";
			break;
		case 0:
		case 1:
		case 6:
		case 8:
			ans="pon";
			break;
		case 3:
			ans="bon";
			break;
		} n%10 n 10 case 2: 2 case 2: case 4: 4 case 4: case 5: 5 case 5: case 7: 7 case 7: case 9: 9 case 9: ans="hon" ans "hon" break; case 0: 0 case 0: case 1: 1 case 1: case 6: 6 case 6: case 8: 8 case 8: ans="pon" ans "pon" break; case 3: 3 case 3: ans="bon" ans "bon" break; out.println(ans) out.println out ans String[] args args public class Main {
	public static final int MOD = 1000000007;
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		sc.close();
		String ans="";
		switch(n%10) {
		case 2:
		case 4:
		case 5:
		case 7:
		case 9:
			ans="hon";
			break;
		case 0:
		case 1:
		case 6:
		case 8:
			ans="pon";
			break;
		case 3:
			ans="bon";
			break;
		}
		out.println(ans);
	}
} public class Main {
	public static final int MOD = 1000000007;
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		sc.close();
		String ans="";
		switch(n%10) {
		case 2:
		case 4:
		case 5:
		case 7:
		case 9:
			ans="hon";
			break;
		case 0:
		case 1:
		case 6:
		case 8:
			ans="pon";
			break;
		case 3:
			ans="bon";
			break;
		}
		out.println(ans);
	}
} Main
import java.util.*;
import java.io.PrintWriter;
import static java.lang.Integer.*;
import static java.lang.Long.*;
import static java.lang.Math.*;
import static java.lang.System.*;

public class Main {
	public static final int MOD = 1000000007;
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(in);
		int n = parseInt(sc.next());
		sc.close();
		String ans="";
		switch(n%10) {
		case 2:
		case 4:
		case 5:
		case 7:
		case 9:
			ans="hon";
			break;
		case 0:
		case 1:
		case 6:
		case 8:
			ans="pon";
			break;
		case 3:
			ans="bon";
			break;
		}
		out.println(ans);
	}
}
