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