#include <iostream>
using namespace std;

int main(void)
{
    int s,w;
    cin >> s >> w;
    if(s < w)
        cout << "unsafe" << endl;
    else if (s == w)
        cout << "unsafe" << endl;
    else 
        cout << "safe" << endl;
}