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