#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;
}
return 0;
}
/**************************************************************
Problem: 1720
User: xiaojingxuan
Language: C++
Result: Accepted
Time:23 ms
Memory:2072 kb
****************************************************************/