#include <bits/stdc++.h>
using namespace std;
using ll = long long;
constexpr ll MOD = 1000000007;

int main(int argc, char **argv)
{
	ll S, W;
	cin >> S >> W;
	std::cout << (S <= W ? "unsafe" : "safe")<< std::endl;
}
