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