#include<bits/stdc++.h>
using namespace std;
int main()
{
	int i,n,x;
	cin>>x>>n;
	if(n<=x*3){
		if(n%3==0){
			cout<<"hong";
		}
		else if(n%3==2)
			cout<<"lan";
		else
			cout<<"huang";
	}
	else{
		n-=x*3;
		if(n%3==0){
			cout<<"hong";
		}
		else if(n%3==2)
			cout<<"lan";
		else
			cout<<"huang";
	}
return 0;
}

/**************************************************************
	Problem: 1313
	User: houshanglin
	Language: C++
	Result: Accepted
	Time:11 ms
	Memory:2072 kb
****************************************************************/