import scala.io.StdIn

object Main extends App {
  val Array(x, a, b) = StdIn.readLine.split(" ").map(_.toInt)
  val ans = if(b-a <= 0) "delicious"
    else if(b-a <= x) "safe"
    else "dangerous"

  println(ans)
}