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