#include <bits/stdc++.h>
using namespace std;
const double PI = acos(-1.0);
long double eps = 1e-9;
int main() {
  string s;
  cin >> s;
  int n = s.size() - 1;
  if (s[n] == '2' or s[n] == '4' or s[n] == '5' or s[n] == '7' or s[n] == '9')
    cout << "hon" << '\n';
  else if (s[n] = '3')
    cout << "bon" << '\n';
  else
    cout << "bon" << '\n';
}
