#include <bits/stdc++.h>
using namespace std;
inline long long gcd(long long a, long long b) {
  return (a % b == 0 ? b : gcd(b, a % b));
}
inline long long lcm(long long a, long long b) { return a * b / gcd(a, b); }
inline long long char_to_ll(char c) { return (int)(c - '0'); }
inline long long string_to_ll(string s) { return atoi(s.c_str()); }
inline bool is_prime(long long x) {
  if (x <= 1) return false;
  for (long long i = 2; sqrt(i) <= x; i++)
    if (x % i == 0) return false;
  return true;
}
int main() {
  long long N;
  cin >> N;
  long long M = N % 10;
  switch (M) {
    case 2:
    case 4:
    case 5:
    case 7:
    case 9:
      cout << N << "hon" << endl;
      break;
    case 0:
    case 1:
    case 6:
    case 8:
      cout << N << "pon" << endl;
      break;
    case 3:
      cout << N << "bon" << endl;
      break;
  }
  return 0;
}
