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