#include<iostream>
using namespace std;
int main(){
int n,i,a[10000];
for(i=1;i<=25;i++){
if(i==1||i==2){
a[i] = 1;
}
else {
a[i] = a[i-1]+a[i-2];
}
}
while(scanf("%d",&n)!=EOF){
for(i=1;i<=25;i++){
if(n==a[i]){
printf("Lucky Day\n");
break;
}
}
if(i==26){
printf("Bad Day\n");
}
}
}