open Batteries
open Printf
let () =
  let x,a,b = Scanf.scanf "%d %d %d " (fun a b c -> a,b,c) in

  Printf.printf "%s\n" @@
    if b - a > x then "dangerous" else if
      b - a > 0 then "safe" else "delicious"
