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 n,i;
long long a[45];
a[0]=2;a[1]=3;
for(i=2;i<25;++i)
a[i]=a[i-1]+a[i-2];
while(scanf("%d",&n)!=EOF)
{
i=0;
while(a[i]<n)
{
i++;
}
if(a[i]==n)
printf("Lucky Day\n");
else
printf("Bad Day\n");
}
return 0;
}