#include <bits/stdc++.h>
using namespace std;
using ll = long long;
template <class T, class U>
void chmin(T &t, U f) {
  if (t > f) t = f;
}
template <class T, class U>
void chmax(T &t, U f) {
  if (t < f) t = f;
}
int main() {
  cin.tie(nullptr);
  ios_base::sync_with_stdio(false);
  string n;
  cin >> n;
  int hoge = n[n.size() - 1] - '0';
  if (hoge == 2 || hoge == 4 || hoge == 5 || hoge == 7 || hoge == 9)
    cout << "hon" << endl;
  if (hoge == 0 || hoge == 1 || hoge == 6 || hoge == 8) cout << "hon" << endl;
  if (hoge == 3) cout << "bon" << endl;
}
