#include<iostream>


using namespace std;

int S, W;

void solve()
{
    if(S <= W){
        cout << "unsafe" << endl;
    }else{
        cout << "safe" << endl;
    }
}

int main()
{
    cin >> S >> W;
    solve();


    return 0;
}
