t=int(input())
res=[]
for j in range(t):
x,y,k,n=map(int,input().split())
if(x<=y):
res.append("LuckyChef")
else:
res.append("UnluckyChef")
for _ in range(n):
p,c=map(int, input().split())
if c<=k:
if p>=x-y:
res[j]='LuckyChef'
break
for x in res:
print(x)
dD1pbnQoaW5wdXQoKSkKcmVzPVtdCmZvciBqIGluIHJhbmdlKHQpOgogICAgeCx5LGssbj1tYXAoaW50LGlucHV0KCkuc3BsaXQoKSkKCiAgICBpZih4PD15KToKICAgICAgICByZXMuYXBwZW5kKCJMdWNreUNoZWYiKQogICAgZWxzZToKICAgICAgICByZXMuYXBwZW5kKCJVbmx1Y2t5Q2hlZiIpCiAgICAgICAgZm9yIF8gaW4gcmFuZ2Uobik6CiAgICAgICAgICAgIHAsYz1tYXAoaW50LCBpbnB1dCgpLnNwbGl0KCkpCiAgICAgICAgICAgIGlmIGM8PWs6CiAgICAgICAgICAgICAgICBpZiBwPj14LXk6CiAgICAgICAgICAgICAgICAgICAgcmVzW2pdPSdMdWNreUNoZWYnCiAgICAgICAgICAgICAgICAgICAgYnJlYWsKCmZvciB4IGluIHJlczoKICAgIHByaW50KHgp