program main
    use,intrinsic :: iso_fortran_env
    implicit none
    integer(int32)::x,a,b 

    read*, x,a,b

    if (a-b >= 0) then
        print'(a)', 'delicious'
    else if(b-a <= x) then
        print'(a)', 'safe'
    else
        print'(a)', 'dangerous'
    end if
end program main