#include using namespace std; int main(){ int D1,D2,D3,S; cin>>D1>>D2>>D3>>S; if(S==1){ cout<<"SURVIVED"<=2){ cout<<"DEAD"<