#include <bits/stdc++.h>
#define rep(i,n) for (int i=0 ; i<(n) ; ++i)
typedef long long ll;
using namespace std;
const ll MAX = 2500LL;
typedef pair <ll, ll> P;

int main(){
  int n;
  cin > n;
  if(n%10 == 2 or n%10 == 4 or n%10 == 5 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;
}
