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