#include<iostream>
using namespace std;
int fibo(int n){
int a=1,b=1,c,i;
for(i=0;i<n;++i){
c=a+b;
a=b;
b=c;
if(c==n){
return 1;
}
if(c>n){
return 0;
}
}
}
int main(){
int n;
while(scanf("%d",&n)!=EOF){
if(fibo(n)){
printf("Lucky Day\n");
}else{
printf("Bad Day\n");
}
}
return 0;
}