#include <cstdint>
#include <iostream>

using namespace std;

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