#include<bits/stdc++.h>

using namespace std;

int main(){
    int s, w;
    cin >> s >> w;
    if(w > s/2){
        cout << "unsafe" << endl;
    }else{
        cout << "safe" << endl;
    }
    return 0;
}
