#include<stdio.h>
int fei(int x);
int main()
{
int n;
int a[1000];
int i;
for (i=1;fei(i)<=100000;i++)
{
a[i]=fei(i);
}
while(scanf("%d",&n)!=EOF)
{
int s=0;
for (i=1;i<=999;i++)
{
if (a[i]>100000)
break;
if (n==a[i])
{
s++;
break;
}
}
if (s==1)
printf("Lucky Day\n");
else
printf("Bad Day\n");
}
}
int fei(int x)
{
if (x==1)
return 2;
else if (x==2)
return 3;
else
return fei(x-1)+fei(x-2);
}