object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val x, a, b = sc.nextInt

  (x, a, b) match {
    case _ if b <= a => println("delicious")
    case _ if b <= x + a => println("safe")
    case _ => println("dangerous")
  }
}
