#include <bits/stdc++.h>
using namespace std;
int main(){
//freopen("ip.txt","r",stdin);
int t;
cin>>t;
while (t--){
int x,y,n,k;
cin>>x>>y>>k>>n;
vector<int>p(n);
vector<int>c(n);
int d = x - y;
for (int i=0; i<n; i++){
cin>>p[i]>>c[i];
}
int f = 1;
for (int i=0; i<n; i++){
if(p[i] >= d && c[i] <= k){
f = 0;
break;
}
}
if(f == 0){
cout<<"LuckyChef";
}else{
cout<<"UnluckyChef";
}
cout<<endl;
}
return 0;
}