#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,d,e,f;
cin>>a>>b>>c>>d>>e>>f;
	int x=0,y=0;
	if(a<b){
	y++;
	}
	else if(a>b){
		x++;
		}
	if(c<d){
	y++;
	}
	else if(c>d){
	x++;
	}
	if(e<f){
	y++;
	}
	else if(e>f){
	x++;
	}
	if(x>y){
	cout<<"yangguang"<<endl;
	}
	else {
	cout<<"leiting"<<endl;
	}

}
/**************************************************************
	Problem: 1720
	User: tonghuawei
	Language: C++
	Result: Accepted
	Time:32 ms
	Memory:2072 kb
****************************************************************/