#include using namespace std; /////////////////// メイン /////////////////// int main () { //////////////////// 入力 //////////////////// int a, b, c, s; cin >> a >> b >> c >> s; //////////////// 出力変数定義 //////////////// string result = "SURVIVED"; //////////////////// 処理 //////////////////// if (s==0&&a+b+c>1) result = "DEAD"; //////////////////// 出力 //////////////////// cout << result << endl; //////////////////// 終了 //////////////////// return 0; }