#include<bits/stdc++.h>

using namespace std;

typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vll;
#define endl '\n'
#define w(t) int t;cin>>t;while(t--)
#define IOS ios_base::sync_with_stdio(false);cin.tie(0);
#define rep(i,a,b) for(int i=a; i<b; ++i)
#define repl(i,a,b) for(ll i=a; i<b; ++i)


int main(){
	IOS

	int n;
  	cin>>n;
  	int rem = n%10;
  	if(rem == 3)
      cout<<bon<<endl;
  	else if(rem == 0 || rem ==1 || rem ==6 || rem ==8)
      cout<<pon<<endl;
  	else
      cout<<hon<<endl;
    
}