#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define PI 3.14159265359

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