#include <iostream>
#include <iomanip>
using namespace std;

int main(int argc, char *argv[]) {
    int s,w;
    cin >> s >> w;
    if(s>w) cout << "safe" << endl;
    else cout << "unsafe" << endl;
    return 0;
}
