object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val x, a, b = sc.nextInt()
  val y = b - a
  if (y <= 0) {
    println("delicious")
  } else if (y <= x) {
    println("safe")
  } else {
    println("dangerous")
  }
}