Read problems statements in Mandarin Chinese  and Russian. 

Chef likes to write poetry. Today, he has decided to write a X pages long poetry, but unfortunately his notebook has only Y pages left in it. Thus he decided to buy a new CHEFMATE notebook and went to the stationary shop. Shopkeeper showed him some N notebooks, where the number of pages and price of the i^{th} one are P_{i} pages and C_{i} rubles respectively. Chef has spent some money preparing for Ksen's birthday, and then he has only K rubles left for now.
Chef wants to buy a single notebook such that the price of the notebook should not exceed his budget and he is able to complete his poetry.
Help Chef accomplishing this task. You just need to tell him whether he can buy such a notebook or not. Note that Chef can use all of the Y pages in the current notebook, and Chef can buy only one notebook because Chef doesn't want to use many notebooks.

------ Input ------ 

The first line of input contains an integer T, denoting the number of test cases. Then T test cases are follow.
The first line of each test case contains four space-separated integers X, Y, K and N, described in the statement. The i^{th} line of the next N lines contains two space-separated integers P_{i} and C_{i}, denoting the number of pages and price of the i^{th} notebook respectively.

------ Output ------ 

For each test case, Print "LuckyChef" if Chef can select such a notebook, otherwise print "UnluckyChef" (quotes for clarity).

------ 
------ Constraints -----
$1 ≤ T ≤ 10^{5}$
$1 ≤ Y < X ≤ 10^{3}$
$1 ≤ K ≤ 10^{3}$
$1 ≤ N ≤ 10^{5}$
$1 ≤ P_{i}, C_{i} ≤ 10^{3}$
Subtask 1: 40 points
$Sum of N over all test cases in one test file does not exceed 10^{4}.$
Subtask 2: 60 points
$Sum of N over all test cases in one test file does not exceed 10^{6}.$

----- Sample Input 1 ------ 
3
3 1 2 2
3 4
2 2    
3 1 2 2
2 3
2 3    
3 1 2 2
1 1
1 2
----- Sample Output 1 ------ 
LuckyChef
UnluckyChef
UnluckyChef
----- explanation 1 ------ 
Example case 1. In this case, Chef wants to write X = 3 pages long poetry, but his notebook has only Y = 1 page. And his budget is K = 2 rubles, and there are N = 2 notebooks in the shop. The first notebook has P1 = 3 pages, but Chef cannot buy it, because its price is C1 = 4 rubles. The second notebook has P2 = 2 pages, and its price is C2 = 2 rubles. Thus Chef can select the second notebook to accomplish the task. He will write 1 page of poetry in the old notebook, and 2 page of poetry in the new notebook.
Example case 2. Chef cannot buy any notebook, because the prices exceed the Chef's budget.
Example case 3. No notebook contains sufficient number of pages required to write poetry.

Source: codechef | Difficulty: EASY
Tags: Mathematics

Complete search


Solutions:
for i in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	f = x - y
	c = 0
	for i in range(n):
		(a, b) = map(int, input().split())
		if b <= k:
			if a >= f:
				c = 1
	if c == 1:
		print('LuckyChef')
	else:
		print('UnluckyChef')


for _ in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	o = 0
	for _ in range(n):
		(p, c) = map(int, input().split())
		if p >= x - y and k >= c:
			o = 1
	if o == 0:
		print('UnluckyChef')
	else:
		print('LuckyChef')


for _ in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	flag = 0
	pages_left = x - y
	for i in range(0, n):
		(pages, cost) = map(int, input().split())
		if pages_left <= pages and k >= cost:
			flag = 1
	if flag == 1:
		print('LuckyChef')
	else:
		print('UnluckyChef')


for i in range(int(input())):
	(X, Y, K, N) = map(int, input().split())
	flag = False
	for j in range(N):
		(P, C) = map(int, input().split())
		pg = X - Y
		if P >= pg and C <= K:
			flag = True
	print('LuckyChef' if flag == True else 'UnluckyChef')


t = int(input())
for i in range(t):
	(x, y, k, n) = map(int, input().split())
	p = []
	c = []
	d = x - y
	e = 0
	for i in range(n):
		(a, b) = map(int, input().split())
		if a >= d and b <= k:
			e = 1
	if e == 0:
		print('UnluckyChef')
	else:
		print('LuckyChef')


for t in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	r = x - y
	t = 0
	for i in range(n):
		(c, d) = map(int, input().split())
		if r <= c:
			if k - d >= 0:
				t += 1
	if t > 0:
		print('LuckyChef')
	else:
		print('UnluckyChef')


T = int(input())
for i in range(T):
	(x, y, k, n) = map(int, input().split(' '))
	ext = x - y
	chk = ''
	p = [0] * n
	c = [0] * n
	for z in range(n):
		(p[z], c[z]) = map(int, input().split())
	for z in range(n):
		if ext <= p[z] and k >= c[z]:
			chk = 'LuckyChef'
		elif chk != 'LuckyChef':
			chk = 'UnluckyChef'
		else:
			continue
	print(chk)


for _ in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	r = x - y
	f = 0
	for i in range(n):
		(p, c) = map(int, input().split())
		if r <= p and c <= k:
			f = 1
	if f == 1:
		print('LuckyChef')
	else:
		print('UnluckyChef')


for tc in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	req = x - y
	poss = False
	for i in range(n):
		(p, c) = map(int, input().split())
		if req <= p and c <= k:
			poss = True
	print('LuckyChef' if poss else 'UnluckyChef')


for i in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	t = 0
	s = x - y
	for i in range(n):
		(p, c) = map(int, input().split())
		if p >= s:
			if k - c >= 0:
				t += 1
	if t > 0:
		print('LuckyChef')
	else:
		print('UnluckyChef')


t = int(input())
for tc in range(t):
	(x, y, k, n) = map(int, input().split())
	b = x - y
	v = 0
	for j in range(n):
		(p, c) = map(int, input().split())
		if p >= b:
			if k - c >= 0:
				v += 1
	if v > 0:
		print('LuckyChef')
	else:
		print('UnluckyChef')


x = int(input())
bbrq = []
for nn in range(0, x):
	w = str(input())
	ire = w.split(' ')
	efg = [int(ire[0]), int(ire[1])]
	hhn = int(ire[2])
	for mmn in range(0, int(ire[-1])):
		vvx = str(input())
		vvx = vvx.strip()
		dd = vvx.split(' ')
		if int(dd[-1]) > hhn:
			continue
		else:
			dsa = []
			for iirt in dd:
				dsa.append(int(iirt))
			efg.append(dsa)
	bbrq.append(efg)
for ii in bbrq:
	umrf = ii[2:]
	if umrf == []:
		print('UnluckyChef')
		continue
	fx = ii[0]
	eex = ii[1]
	edxz = fx - eex
	thre = []
	for mvza in umrf:
		if mvza[0] < edxz:
			continue
		else:
			thre.append(mvza)
	if thre == []:
		print('UnluckyChef')
		continue
	print('LuckyChef')


t = int(input())
for _ in range(t):
	f = list(map(int, input().split()))
	(x, y, k, n) = (f[0], f[1], f[2], f[3])
	notebooks = []
	for i in range(n):
		s = list(map(int, input().split()))
		(p, c) = (s[0], s[1])
		notebooks.append((p, c))
	diff = x - y
	flag = 0
	for j in notebooks:
		if j[0] >= diff:
			if j[1] <= k:
				flag = 1
	if flag == 1:
		print('LuckyChef')
	else:
		print('UnluckyChef')


T = int(input())
for i in range(T):
	flag = 0
	(x, y, k, n) = list(map(int, input().split()))
	for i in range(n):
		(p, c) = list(map(int, input().split()))
		if p >= x - y and k >= c:
			flag = flag + 1
	if flag > 0:
		print('LuckyChef')
	else:
		print('UnluckyChef')


T = int(input())
for test_case in range(T):
	(X, Y, K, N) = (int(_) for _ in input().split())
	PC = tuple((tuple((int(_) for _ in input().split())) for _ in range(N)))
	possible = tuple(((pc[0], pc[1]) for pc in PC if pc[0] >= X - Y and pc[1] <= K))
	print('LuckyChef' if bool(possible) else 'UnluckyChef')


for _ in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	ans = 'UnluckyChef'
	for t in range(n):
		(p, c) = map(int, input().split())
		if p + y >= x and c <= k:
			ans = 'LuckyChef'
	print(ans)


T = int(input())
for i in range(T):
	(X, Y, N, K) = [int(X) for X in input().split()]
	res = False
	for j in range(K):
		(p, c) = [int(x) for x in input().split()]
		if N >= c and X - Y <= p:
			res = True
	if res:
		print('LuckyChef')
	else:
		print('UnluckyChef')


T = int(input())
for i in range(T):
	(x, y, k, n) = [int(x) for x in input().split()]
	flag = False
	for j in range(n):
		(p, c) = [int(x) for x in input().split()]
		if c <= k and x - y <= p:
			flag = True
	if flag:
		print('LuckyChef')
	else:
		print('UnluckyChef')


T = int(input())
for _ in range(T):
	[x, y, k, n] = map(int, input().split())
	flag = False
	for _ in range(n):
		a = list(map(int, input().split()))
		if a[1] <= k and a[0] >= x - y:
			flag = True
	if flag:
		print('LuckyChef')
	else:
		print('UnluckyChef')


t = int(input())
for i in range(t):
	(x, y, k, n) = map(int, input().split())
	count = 0
	for j in range(n):
		(p, c) = map(int, input().split())
		if c <= k and y + p >= x:
			count = 1
	if count == 0:
		print('UnluckyChef')
	else:
		print('LuckyChef')


for _ in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	flag = 0
	for i in range(n):
		(a, b) = map(int, input().split())
		if b <= k:
			if x - y <= a:
				flag = 1
	if flag:
		print('LuckyChef')
	else:
		print('UnluckyChef')


for i in range(int(input())):
	(rp, pl, ml, sn) = map(int, input().split())
	dic = {}
	ans = 'UnluckyChef'
	for i in range(sn):
		dic[i] = list(map(int, input().split()))
	for i in range(sn):
		if dic[i][0] >= rp - pl and ml >= dic[i][1]:
			ans = 'LuckyChef'
	print(ans)


for i in range(int(input())):
	(x, y, b, n) = map(int, input().split())
	f = 0
	a = []
	x = x - y
	for j in range(n):
		a.append(list(map(int, input().split())))
	for (p, c) in a:
		if p >= x and c <= b:
			f = 1
			break
	if f:
		print('LuckyChef')
	else:
		print('UnluckyChef')


N = int(input())
for it in range(N):
	(x, y, k, n) = list(map(int, input().split()))
	a = []
	for i in range(n):
		a.append(list(map(int, input().split())))
	flag = False
	x = x - y
	if True:
		for (i, j) in a:
			if x - i <= 0 and j <= k:
				flag = True
				break
	if flag:
		print('LuckyChef')
	else:
		print('UnluckyChef')


for _ in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	foundBook = 0
	for _ in range(n):
		(p, c) = map(int, input().split())
		if x - y <= p and k >= c:
			ans = 'LuckyChef'
			foundBook = 1
	if foundBook == 0:
		ans = 'UnluckyChef'
	print(ans)


t = int(input())
for i in range(t):
	(x, y, k, n) = [int(x) for x in input().split()]
	found = 0
	for j in range(0, n):
		(p, c) = [int(x) for x in input().split()]
		if c <= k and p >= x - y:
			cheff = 'LuckyChef'
			found = 1
	if found == 0:
		cheff = 'UnluckyChef'
	print(cheff)


for _ in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	flag = False
	for _ in range(n):
		(p, c) = map(int, input().split())
		if p >= abs(x - y) and c <= k:
			flag = True
	if flag:
		print('LuckyChef')
	else:
		print('UnluckyChef')


t = input()
space = []
for _ in range(0, int(t)):
	raw_values = input()
	values = raw_values.split()
	poetry_length = int(values[0])
	pages_left = int(values[1])
	money = int(values[2])
	notebooks_length = values[3]
	notebooks = []
	for __ in range(0, int(notebooks_length)):
		raw_notebook_details = input()
		notebook_details = raw_notebook_details.split()
		size = int(notebook_details[0])
		price = int(notebook_details[1])
		notebooks.append({'size': size, 'price': price})
	space.append({'poetry_length': poetry_length, 'pages_left': pages_left, 'money': money, 'notebooks': notebooks})
for test_case in space:
	pages_required = test_case['poetry_length'] - test_case['pages_left']
	notebooks_filtered_by_pages = filter(lambda x: x['size'] >= pages_required, test_case['notebooks'])
	notebooks_filtered_by_cost = filter(lambda x: x['price'] <= test_case['money'], notebooks_filtered_by_pages)
	if len(list(notebooks_filtered_by_cost)) > 0:
		print('LuckyChef')
	else:
		print('UnluckyChef')


for i in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	a = []
	for j in range(n):
		(p, c) = tuple(map(int, input().split()))
		a.append((p, c))
	res = False
	w = x - y
	for l in range(len(a)):
		if a[l][1] <= k and a[l][0] >= w:
			res = True
	if res:
		print('LuckyChef')
	else:
		print('UnluckyChef')


for _ in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	w = x - y
	res = False
	for i in range(n):
		(p, c) = map(int, input().split())
		if p >= w and c <= k:
			res = True
	if res:
		print('LuckyChef')
	else:
		print('UnluckyChef')


t = int(input())
while t:
	(x, y, k, n) = list(map(int, input().split()))
	flag = 0
	pp = []
	while n:
		pc = list(map(int, input().split()))
		pp.append(pc)
		n -= 1
	pgneed = x - y
	for i in pp:
		if i[0] >= pgneed and i[1] <= k:
			flag = 1
			break
	if flag == 1:
		print('LuckyChef')
	else:
		print('UnluckyChef')
	t -= 1


t = int(input())
for i in range(t):
	(x, y, k, n) = input().split()
	x = int(x)
	y = int(y)
	k = int(k)
	n = int(n)
	arr = []
	for notebooks in range(n):
		(p, c) = input().split()
		p = int(p)
		c = int(c)
		if k >= c and y + p >= x:
			arr.append(True)
		else:
			arr.append(False)
	if any(arr):
		print('LuckyChef')
	else:
		print('UnluckyChef')


T = int(input())
flag = 0
for i in range(T):
	(X, Y, K, N) = input().split()
	for j in range(int(N)):
		(P, C) = input().split()
		if int(K) >= int(C) and int(X) - int(Y) <= int(P):
			flag = 1
	if flag == 1:
		print('LuckyChef')
	if flag == 0:
		print('UnluckyChef')
	flag = 0


t = int(input())
for i in range(t):
	(x, y, k, n) = map(int, input().split())
	a = False
	for i in range(n):
		(pa, pr) = map(int, input().split())
		if not a and x - y <= pa and (k >= pr):
			a = True
	if not a:
		print('UnluckyChef')
	else:
		print('LuckyChef')


t = int(input())
while t != 0:
	(x, y, m, n) = map(int, input().split())
	p = x - y
	luck = False
	while n != 0:
		(pg, prc) = map(int, input().split())
		if not luck and pg >= p and (prc <= m):
			luck = True
		n -= 1
	if luck:
		print('LuckyChef')
	else:
		print('UnluckyChef')
	t -= 1


t = int(input())
while t:
	(x, y, k, n) = map(int, input().split())
	r = 'LuckyChef'
	q = 0
	while n:
		(p, c) = map(int, input().split())
		if k >= c and x - y <= p:
			r = 'LuckyChef'
			q += 1
		else:
			r = 'UnluckyChef'
		n -= 1
	if q >= 1:
		print('LuckyChef')
	else:
		print('UnluckyChef')
	t -= 1


T = int(input())
for case in range(T):
	(X, Y, K, N) = map(int, input().split(' '))
	pages_needed = X - Y
	pages = []
	prices = []
	for notebook in range(N):
		(page, price) = map(int, input().split(' ', 1))
		pages.append(page)
		prices.append(price)
	for (page_, price_) in zip(pages, prices):
		if page_ < pages_needed:
			continue
		if price_ <= K:
			print('LuckyChef')
			break
	else:
		print('UnluckyChef')


for i in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	flag = False
	for m in range(n):
		(p, c) = map(int, input().split())
		if c <= k and y + p >= x:
			flag = True
	if flag == True:
		print('LuckyChef')
	else:
		print('UnluckyChef')


for _ in range(int(input())):
	(X, Y, K, N) = map(int, input().split())
	needed = X - Y
	answer = 'UnluckyChef'
	for num in range(N):
		books = list(map(int, input().split()))
		if books[1] <= K and books[0] >= needed:
			answer = 'LuckyChef'
	print(answer)


for i in range(int(input())):
	(X, Y, K, N) = map(int, input().split())
	output = 'UnluckyChef'
	for i in range(N):
		(P, C) = map(int, input().split())
		if C <= K and P + Y >= X:
			output = 'LuckyChef'
	print(output)


t = int(input())
while t != 0:
	s = 'UnluckyChef'
	t = t - 1
	(x, y, k, n) = map(int, input().split())
	for i in range(n):
		(a, b) = map(int, input().split())
		if a >= x - y and b <= k:
			s = 'LuckyChef'
	print(s)


test = int(input())
for z in range(test):
	(X, Y, K, N) = map(int, input().split())
	flag = False
	for i in range(N):
		(p, c) = map(int, input().split())
		if c <= K and Y + p >= X:
			flag = True
	if flag:
		print('LuckyChef')
	else:
		print('UnluckyChef')


for _ in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	l = []
	flag = 1
	for i in range(n):
		(p, c) = map(int, input().split())
		l.append([p, c])
	for i in l:
		if i[1] <= k and i[0] >= x - y:
			flag = 0
			break
		else:
			continue
	if flag == 0:
		print('LuckyChef')
	else:
		print('UnluckyChef')


for i in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	A = []
	for i in range(n):
		(p, c) = map(int, input().split())
		A.append([p, c])
	t = x - y
	for i in A:
		if i[0] >= t and i[1] <= k:
			print('LuckyChef')
			break
	else:
		print('UnluckyChef')


T = int(input())
for tc in range(T):
	(X, Y, K, N) = map(int, input().split())
	P = [0] * N
	C = [0] * N
	for i in range(N):
		(P[i], C[i]) = [int(i) for i in input().split()]
	count = 0
	for i in range(N):
		if P[i] >= X - Y and C[i] <= K:
			count = 1
			break
	if count == 0:
		print('UnluckyChef')
	else:
		print('LuckyChef')


for _ in range(int(input())):
	(x, y, k, n) = [int(i) for i in input().split()]
	book = [0] * n
	price = [0] * n
	for i in range(n):
		(book[i], price[i]) = [int(i) for i in input().split()]
	need_Page = x - y
	flag = 1
	for i in range(n):
		if book[i] >= need_Page and price[i] <= k:
			flag = 0
			break
	if flag == 1:
		print('UnluckyChef')
	else:
		print('LuckyChef')


for j in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	req_pages = x - y
	ans = 'UnluckyChef'
	for i in range(n):
		(p, c) = map(int, input().split())
		if c > k:
			continue
		elif p >= req_pages and k >= c:
			ans = 'LuckyChef'
	print(ans)


T = int(input())
for i in range(0, T):
	(X, Y, K, N) = map(int, input().split())
	Lucky = False
	for j in range(0, N):
		(P, C) = map(int, input().split())
		pagesNeeded = X - Y
		if pagesNeeded <= P and K >= C:
			Lucky = True
	if Lucky:
		print('LuckyChef')
	else:
		print('UnluckyChef')


for tc in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	no = []
	for i in range(n):
		(p, c) = map(int, input().split())
		no.append([p, c])
	pages = x - y
	ans = 'UnluckyChef'
	for i in no:
		if i[0] >= pages and i[1] <= k:
			ans = 'LuckyChef'
	print(ans)


for _ in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	p = []
	c = []
	for i in range(n):
		(a, b) = map(int, input().split())
		p.append(a)
		c.append(b)
	need_p = x - y
	lucky = False
	for i in range(n):
		if p[i] >= need_p:
			if c[i] <= k:
				lucky = True
	if lucky:
		print('LuckyChef')
	else:
		print('UnluckyChef')


a = int(input(''))
for i in range(a):
	(X, Y, K, N) = [int(x) for x in input('').split()]
	ans = 'UnluckyChef'
	for j in range(N):
		(L1, L2) = [int(x) for x in input('').split()]
		if L1 >= X - Y and L2 <= K:
			ans = 'LuckyChef'
	print(ans)


def lucky_unlucky(X, Y, K, pc):
	for (page, rubles) in pc:
		if rubles <= K:
			if page >= X - Y:
				return 'LuckyChef'
	return 'UnluckyChef'
for _ in range(int(input())):
	n = list(map(int, input().split()))
	X = n[0]
	Y = n[1]
	K = n[2]
	pc = []
	for i in range(n[3]):
		pc.append(list(map(int, input().split())))
	print(lucky_unlucky(X, Y, K, pc))


for i in range(int(input())):
	l = list(map(int, input().split()))
	k = []
	for j in range(l[3]):
		book = list(map(int, input().split()))
		pages = l[0] - l[1]
		if pages <= book[0] and l[2] >= book[1]:
			k.append(1)
		else:
			k.append(0)
	if 1 in k:
		print('LuckyChef')
	else:
		print('UnluckyChef')


t = int(input())
for i in range(0, t):
	(x, y, k, n) = list(map(int, input().split()))
	flag = 0
	while n > 0:
		(pages, cost) = map(int, input().split())
		if pages >= x - y and k >= cost:
			flag = 1
		n = n - 1
	if flag == 1:
		print('LuckyChef')
	else:
		print('UnluckyChef')


for _ in range(int(input())):
	(a, b, t, n) = map(int, input().split())
	f = 1
	while n > 0:
		n -= 1
		(k, c) = map(int, input().split())
		if k >= a - b and c <= t:
			f = 0
	if f == 0:
		print('LuckyChef')
	else:
		print('UnluckyChef')


for _ in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	req = x - y
	if req <= 0:
		print('LuckyChef')
		continue
	lis = [0]
	for _ in range(n):
		(p, c) = map(int, input().split())
		if c <= k:
			lis.append(p)
	ma = max(lis)
	if ma >= req:
		print('LuckyChef')
	else:
		print('UnluckyChef')


a = int(input())
for i in range(a):
	(x, y, k, n) = map(int, input().split())
	need = x - y
	flag = 0
	for ii in range(n):
		(p, c) = map(int, input().split())
		if p >= need and c <= k:
			flag = 1
	if flag == 1:
		print('LuckyChef')
	else:
		print('UnluckyChef')


for _ in range(int(input())):
	(x, y, k, n) = map(int, input().split())
	want = x - y
	count = 0
	for __ in range(n):
		(a, b) = map(int, input().split())
		if a >= want and b <= k:
			count += 1
	print('LuckyChef' if count > 0 else 'UnluckyChef')


t = int(input())
for i in range(t):
	(a, b, c, d) = map(int, input().split())
	e = a - b
	flag = 0
	for i in range(d):
		(k, l) = map(int, input().split())
		if c >= l and e <= k:
			flag = flag + 1
	if flag >= 1:
		print('LuckyChef')
	else:
		print('UnluckyChef')


T = int(input())
for _ in range(T):
	(x, y, k, n) = map(int, input().split())
	remaining_pages = x - y
	ct = 0
	for i in range(n):
		(p, c) = map(int, input().split())
		if remaining_pages <= p and k >= c:
			ct += 1
	if ct >= 1:
		print('LuckyChef')
	else:
		print('UnluckyChef')


t = int(input())
for i in range(0, t):
	(x, y, k, n) = map(int, input().split())
	ans = 0
	for j in range(0, n):
		(a, b) = map(int, input().split())
		if y + a >= x and b <= k:
			ans += 1
	if ans >= 1:
		print('LuckyChef')
	else:
		print('UnluckyChef')