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