#include <bits/stdc++.h>
int main(void) {
  int x, N;
  scanf("%d", &N);
  x = N % 10;
  if (x == 2 || x == 4 || x == 5 || x == 7 || x == 9) {
    printf("%d hon", N);
  }
  if (x == 3) {
    printf("%d bon", N);
  }
  if (x == 0 || x == 1 || x == 6 || x == 8) {
    printf("%d pon", N);
  }
  return 0;
}
