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