#include <stdio.h>
int FIB(int x){
int n=1,m=1,t,sum;
sum=n+m;
while(sum<=x){
if(sum==x) return 1;
t=n;
n=n+m;
m=t;
sum=n+m;
}
return 0;
}
int main(){
int n;
while(scanf("%d",&n)!=EOF){
if(FIB(n)){
printf("Lucky Day\n");
}else{
printf("Bad Day\n");
}
}
return 0;
}