#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int MOD = 1000000007;



int main(){
    ll S, W; cin >> S >> W;
    if(S <= W){
        cout << "unsafe" << endl;
    }
    else cout << "safe" << endl;

}
