#include <iostream>
#include <bits/stdc++.h>
#include <string>
#include <math.h>
#include <vector>
#include <algorithm>
using namespace std;

int main(){
   int s,w; cin>>s>>w;
   if(w>=s/2) cout<<"unsafe";
   else cout<<"safe";
   return 0;
}