import java.util.Scanner;
public class Main
{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int A = sc.nextInt();
int B = sc.nextInt();
int C = sc.nextInt();
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int x = A-a;
int y = B-b;
int z = C-c;
int x1 = a-A;
int y1 = b-B;
int z1 = c-C;
if(((x & y)|(x & z)|(y & z))>=1) {
System.out.print("yangguang");
}else if(((x1 & y1)|(x1 & z1)|(y1 & z1))>=1) {
System.out.print("leiting");
}
}
}
/**************************************************************
Problem: 1720
User: admin
Language: Java
Result: Accepted
Time:2477 ms
Memory:40344 kb
****************************************************************/