#include<stdio.h> int main(){ int n,i,j,a,b,c,flag; while(~scanf("%d",&n)){ a=2;b=3;c=5;flag=0; while(n>c){ c=a+b; if(c==n){ flag=1; } a=b; b=c; }if(flag||n==2||n==3||n==5){ printf("Lucky Day\n"); } else{ printf("Bad Day\n"); } } }