#include<stdio.h>
#include<string.h>
#include<math.h>
int main()
{
int n,f1=1,f2=1,f=2;
while(scanf("%d",&n)!=EOF)
{
f1=1;
f2=1;
f=2;
if(n==2)
{
printf("Lucky Day\n");
}
else{
f=2;
while(f<n)
{
f1=f2;
f2=f;
f=f1+f2;
if(f==n)
{
printf("Lucky Day\n");
break;
}
else if(f>n)
{
printf("Bad Day\n");
break;
}
}
}
}
}