#include <bits/stdc++.h>
using namespace std;
using ll = long long;

string solve() {
    ll S, W;
    cin >> S >> W;
    if ( W >= S ) return "unsafe";
    else return "safe";
}

int main() {
    auto ans = solve();
    cout << ans << "\n";
    return 0;
}