#define _GLIBCXX_DEBUG
#define _USE_MATH_DEFINES
#include <bits/stdc++.h>
using namespace std;
int main(){
    int s,w;
    cin>>s>>w;
    if(w>=s){
        cout<<"unsafe";
    }else cout<<"safe";
    }
