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