#include #define rep(i,n)for(int i=0;i> d; cnt += d; } int s; cin >> s; if (cnt >= 2 && !s)puts("DEAD"); else puts("SURVIVED"); }