#include <vector>
#include <iostream>
#include <algorithm>
#include <cmath>

using namespace std;

int main(){
    int s, w;
    cin >> s >> w;
    cout << (w >=s ? "unsafe"  : "safe") << endl;
    return 0;
}