#include <stdio.h>
int main()
{
    int KikiScores = 0;
    scanf("%d",&KikiScores);
    if(KikiScores>=10)
    {
        printf("Danger++\n");
    }
    else if(KikiScores>=4 && KikiScores<=9)
    {
        printf("Danger\n");
    }
    else 
    {
        printf("Good\n");
    }
    return 0;
}