using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace YukiCoder { class Program { static void Main(string[] args) { var va = Console.ReadLine().Split().Select(int.Parse).ToList(); if (va[3] > 0) va[3] = -10; if (va.Sum() < 2) Console.WriteLine("SURVIVED"); else Console.WriteLine("DEAD"); Console.ReadLine(); } } }