#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cmath>
using namespace std;
using ll=long long;
const int MOD=1e9+7;
int main(){
    int s,w;
    cin>>s>>w;
    if(s<=w)puts("unsafe");
    else puts("safe");
}