import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int score = sc.nextInt();
if(score >= 10) {
System.out.println("Danger++");
} else if(score >= 4 && score <= 9) {
System.out.println("Danger");
} else {
System.out.println("Good");
}
}
}