#include <bits/stdc++.h>

using namespace std;

int main() {
    int s = 0;
    int w = 0;

    cin >> s >> w;

    if (s <= w)
        cout << "unsafe" << endl;
    else
        cout << "safe" << endl;

    return 0;
}
