#include<stdio.h>
#include<math.h>
#include<string.h>
int main(){
int a[1000],i,b,n,t;
a[0]=1;a[1]=1;
for(i=2;i<1000;i++){
a[i]=a[i-2]+a[i-1];
}
while(scanf("%d",&n)!=EOF){
for(i=0;i<1000;i++){
if(n==a[i]){
printf("Lucky Day\n");
break;
}
if(n<a[i]){
printf("Bad Day\n");
break;
}
}
}
}