#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int h = n % 10;
  if (h == 2 || h == 4 || h == 5 || h == 7 || h == 9)
    cout << "hon" << endl;
  else if (h == 0 || h == 1 || h == 6 || h == 8)
    cout << "hon" << endl;
  else
    cout << "bon" << endl;
}
