function Main (input) {
  input = input.split("\n")[0].split(" ").map(Number);
  var S = input[0];
  var W = input[1];
  console.log(S <= W ? "unsafe" : "safe");
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));