#include <stdio.h>
int main()
{
int fab[10000];
fab[0] = 1;
fab[1] = 1;
int i;
for(i=2;i<=1000;i++)
{
fab[i] = fab[i-1] + fab[i-2];
}
int j;
int m;
while(scanf("%d",&m)!=EOF)
{
int flag = 0;
for(j=0;j<1000;j++)
{
if(m==fab[j])
{
flag = 1;
break;
}
}
if(flag==1)
{
printf("Lucky Day\n");
}
else
{
printf("Bad Day\n");
}
}
}