#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    int w,s;cin>>s>>w;
    if(w>=s){
        cout<<"unsafe"<<endl;
        
        
    }else{
        cout<<"safe"<<endl;
    }
}
