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