1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include<stdio.h>
int main(){
int a[5000],i,n,m;
while(scanf("%d",&n)!=EOF){
m=0;
a[0]=1;
a[1]=1;
for(i=2;i<100;i++){
a[i]=a[i-2]+a[i-1];
}
for(i=2;i<100;i++){
if(n==a[i])
m++;
}
if(m==1)
printf("Lucky Day\n");
else printf("Bad Day\n");
}
}