import scala.io.StdIn

object Main extends App {

  val a = StdIn.readLine().split(" ").map(_.toInt)
  val r = if (a(2) - a(1) <= 0) "delicious"
  else if (a(2) - a(1) <= a(0)) "safe"
  else "dangerous"

  println(r)

}
