#include <bits/stdc++.h>
using namespace std;

int main() {
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    int N; cin >> N;
    string S = "pphbhhphph";
    cout << S[N%10] << "on\n";
    return 0;
}