#include using namespace std; int main(){ int d[3], s; cin>>d[0]>>d[1]>>d[2]>>s; if(s==1 || d[0]+d[1]+d[2] < 2){ cout<<"SURVIVED"<