#include<cstdio>
#include<cmath>
#include<cstring>
#include<algorithm>
using namespace std;
int main()
{
int n,i,t,a[100001];
while(~scanf("%d",&n))
{
int sum=0;
int f=0;
a[1]=1;a[2]=2;
if(n==2)
{
f=1;
printf("Lucky Day\n");
}
for(i=3;i<=n;i++)
{
a[i]=a[i-1]+a[i-2];
if(a[i]==n)
{
f=1;
printf("Lucky Day\n");
}
if(a[i]>n)
break;
}
if(f==0)
printf("Bad Day\n");
}
}