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