
function Main (input) {
  var S = parseInt(input.split(" ")[0]);
  var W = parseInt(input.split(" ")[1]);
  if (S <= W*2) {
  	console.log("safe");
  } else {
  	console.log("unsafe");
  }
}

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