#include <iostream>
using namespace std;
int main(void){
    int a,ans;
    cin >> a;
    ans = a%10;
    char answer[10] = {'p','p','h','b','h','h','p','h','p','h'};
    cout << answer[ans] << "on" << endl;
}
