include<stdio.h>

int main()
{
int a=0;
scanf("%d",&a);
if(a>=0&&a<=3)
printf("Good");
if(a>3&&a<10)
printf("Danger");
if(a>=10)
printf("Danger++");
return 0;
}