#include using namespace std; signed main(){ int a,b,c,d;cin>>a>>b>>c>>d; string ans="SURVIVED"; if(a+b+c>=2)ans="DEAD"; if(d)ans="SURVIVED"; cout<