#include <bits/stdc++.h>
int main(){
  int num;
  switch (num) {
      cin >>　num;
		case 3:
			cout << "bon";
			break;
		case 0,1,6,8:
			cout << "pon"; 
			break;
		default:
			cout << "hon";
			break;
	}
	return 0;
}
}
