#include <bits/stdc++.h>
#define ll long long
using namespace std;
 
int main(){
  ios::sync_with_stdio(false);
  cin.tie(0);
  int w,s;
  cin>>s>>w;
  if(w>=s)
  {
      cout<<"unsafe"<<endl;
  }
  else cout<<"safe"<<endl;

}