#include <iostream>
using namespace std;

int main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	
	int s, w;
	cin >> s >>w;
	if(s > w) cout << "safe" << "\n";
	else
	cout << "unsafe" << "\n";
	
    
    return 0;
}