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