#include<iostream>
#include<vector>
#include<string>
#include<cmath>


using namespace std;



int main() {
	int S;
	int W;
	
	
	cin >> S >> W;

	if (W >= S) {
		cout << "unsafe";
	}
	else
	{
		cout << "safe";
	}
}