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

int main(){
    int S, W;
    cin >> S >> W;
    string ans = "unsafe";
    if(S > W)
        ans = "safe";

    cout << ans << endl;
    return 0;
}