#include <bits/stdc++.h>

using namespace std;
  
int main(void){
    int s, w;
    
    cin >> s >> w;
    if (s<=w) {
        cout << "unsafe";
    } else {
        cout << "safe";
    }
    return 0;
}