#include<iostream>
#include<vector>

using namespace std;

void a(){
    int S,W;
    cin >> S >> W;
    if(W<S){
        cout << "safe"; 
    }
    else{
        cout << "unsafe";
    }
}
int main(void){
    a();
}