Start: Jul, 10, 2019 08:30:00
2019年度暑期短学期达标测试补考
End: Jul, 10, 2019 11:30:00
Time elapsed:
Time remaining:

Problem_ID: E
Result: Accepted
Time: 39ms
Memory: 1120kB
Author: 2018212212209
In contest: 1284

#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<math.h>
int f(int x)
{
	if(x==1||x==2)
		return 1;
	else
		return f(x-1)+f(x-2);

}
int main()
{
	int n,i,count;
	
	while(scanf("%d",&n)!=EOF)
	{
		count=0;
		
		if(n==2||n==3||n==5||n==8||n==13||n==21||n==34||n==55||n==89||n==144||n==233||n==377||n==610||n==987||n==1597||n==2584||n==4181||n==6765||n==10946||n==17711||n==28657||n==46368||n==75025)
		{
			count=1;
			
			
		}

		
		if(count==1)
			printf("Lucky Day\n");
		else
			printf("Bad Day\n");

	}

   
   
}