#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  string s;
  cin >> s;
  char c = s[s.size()];
  if (c == '2' || c == '4' || c == '5' || c == '7' || c == '9') {
    cout << c << "hon";
  }
  if (c == '0' || c == '1' || c == '6' || c == '8') {
    cout << c << "pon";
  }
  if (c == '3') {
    cout << 3 << "bon";
  }
}
