#include<stdio.h>
int main(){
int n;
while(scanf("%d",&n)!=EOF){
if(n==1||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){
printf("Lucky Day\n");}
else{
printf("Bad Day\n");}}
return 0;
}