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