#include <iostream>

using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)

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