#include <bits/stdc++.h>
using namespace std;
typedef float fl;
typedef long long ll;
int S,W;

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