      program main
      read *,i, j, k
      if (j .lt. k) then
            if (i+j .lt. k) then
                  print *,"dangerous"
            else
                  print * ,"safe"
            end if
      else
            print *,"delicious"
      end if
      end