puts eval(gets.chop.tr(' ',?+)+"*-3")<2?:SURVIVED: :DEAD