gets[7]="*-3";puts eval($_.tr' ',?+)<2?:SURVIVED: :DEAD