object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val X, A, B = sc.nextInt()
  println(B - A match {
    case i if i <= 0 => "delicious"
    case i if i <= X => "safe"
    case _ => "dangerous"
  })
}
