#include <bits/stdc++.h>
int main(int N) {
  int N_1 = 0;
  N_1 = N % 10;
  if (N == 2 or 4 or 5 or 7 or 9) {
    printf(N_1 + "hon");
  } else if (N == 0 or 1 or 6 or 8) {
    printf(N_1 + "pon");
  } else {
    printf(N_1 + "bon");
  }
  return 0;
}
