#include <iostream>
#include <string>
using namespace std;


int main(void) {
    int s, w;
    cin >> s >> w;
    
    if (s > w) {
        cout << "safe" << endl;
    }else{
        cout << "unsafe" << endl;
    }
    
    return 0;
}