#include <iostream>
#include <algorithm>
using namespace std;
using ll = long long;

int a[10000];

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



}

    

		
