#include <bits/stdc++.h>
using namespace std;

int main()
{
  int S,W;
  string result;
  cin >> S >> W;

  if(S>W){
    result = "safe";
  }else{
    result = "unsafe";
  }

  cout << result << endl;
}