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

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