(define d1 (read)) (define d2 (read)) (define d3 (read)) (define s (read)) (define dsum (+ d1 d2 d3)) (if (< 0 s) (print "SURVIVED")(if (> 2 dsum) (print "SURVIVED") (print "DEAD")))