#include using namespace std; int main(){ int d1, d2, d3, s; cin>>d1>>d2>>d3>>s; int flag=d1+d2+d3; if(s==1 || flag<2)cout<<"SURVIVED"<