#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define map map<ll, ll>
#define vect vector
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll t,n,c,x,y,k,p;
cin>>t;
while(t–){
ll f=0;
cin>>x>>y>>k>>n;
x=x-y;
for (ll i = 0; i < n; i++) {
cin>>p>>c;
if(p>=x && k>=c){
f=1;
break;
}
}
if(f==0){
cout<<"UnluckyChef"<<endl;
}else{
cout<<"LuckyChef"<<endl;
}
}
return 0;
}