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