#include <cstdio>
#include <iostream>
#include<cstring>
#include<string>
using namespace std;
long long int a[10001]={0,1};
int main()
{
int n;
for(int i=2;i<=110;i++)
a[i]=a[i-1]+a[i-2];
while(~scanf("%d",&n))
{
int flag=0;
for(int i=0;i<=110;i++)
{
if(a[i]==n)
flag=1;
}
if(flag)
cout<<"Lucky Day\n";
else
cout<<"Bad Day\n";
}
}