#include <bits/stdc++.h>

using namespace std;

#define REPEAT(i, N) for (int i = 0; i < (N); i++)

int main() {
  int S, W;
  
  cin >> S >> W;
  
  cout << (S <= W ? "unsafe" : "safe") << endl;
  
  return 0;
}