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