#include<bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i,n) for(int i = 0; i < (n); i++)

int main(){
    int S,W;
    cin >> S >> W;
    cout << (S <= W ? "unsafe" : "safe") << endl;
}