#include<stdio.h>
int isfib(int n){
int n1, n2, s = 0, i;
if(n == 1 || n == 2) return 1;
n1 = 1; n2 = 2;
for(i = 3; s < n; i++){
s = n1 + n2;
n1 = n2;
n2 = s;
}
if(s == n) return 1;
else return 0;
}
int main(){
int n;
while(scanf("%d", &n) != EOF){
if(isfib(n)){
printf("Lucky Day\n");
}else{
printf("Bad Day\n");
}
}
}