#include<stdio.h>
int main(){
int n;
int m=0;
int x;
int fib[100];
while(scanf("%d",&x)!=EOF){
for(n=0;n<100;n++){
if(n==0||n==1)
fib[n]=n;
if(n>1)
fib[n]=fib[n-1]+fib[n-2];
if(x==fib[n])
{m=m+1;
break;}
}
if(m==1)
printf("Lucky Day\n");
else
printf("Bad Day\n");
m=0;}
return 0;
}