#include<stdio.h>
int main(){
int n,i,m,j,a,b,c;
while(scanf("%d",&n)!=EOF){
m=0;
a=1;
b=1;
for(i=0;i>=0;i++){
c=a+b;
a=b;
b=c;
if(n==b){
printf("Lucky Day\n");
break;
}
else if(b>n){
printf("Bad Day\n");
break;
}
}
}
return 0;
}