
#include <bits/stdc++.h>
using namespace std;
int main(){
    int N;
    cin>>N;
    N=N%10 ;
    switch (N) {
        case :2
            cout<<"hon"<<endl;
            break;
            case :4
                      cout<<"hon"<<endl;
                      break;
            case :5
                      cout<<"hon"<<endl;
                      break;
            case :7
                      cout<<"hon"<<endl;
                      break;
        case :9
                        cout<<"hon"<<endl;
            break;
            case :0
                      cout<<"pon"<<endl;
                      break;
            case :1
                      cout<<"pon"<<endl;
                      break;
            case :6
                      cout<<"pon"<<endl;
                      break;
            case :8
                      cout<<"pon"<<endl;
                      break;
            case :3
                      cout<<"bon"<<endl;
                      break;
            
            
            
            
        default:
            break;
    }
    
return 0;
}

