#include <bits/stdc++.h>

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

int main(){
int S,W;
cin>>S>>W;
if(S<=W)
cout<<"unsafe"<<endl;
else
{
  cout<<"safe";
}




  return 0;
}
