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