#include<stdio.h>
int main(){
double f[60];
int i,j,n;
f[0]=0;
f[1]=1;
for(i=2;i<60;++i){
f[i]=f[i-1]+f[i-2];
}
while(scanf("%d",&n)!=EOF){
j=0;
for(i=0;i<60;++i){
if(n==f[i]){
j++;
}
}
if(j>0)
printf("Lucky Day\n");
else
printf("Bad Day\n");
}
return 0;
}