function Main (input) {
  input = input.split(" ");
  var s = parseInt(input[0]);
  var w = pareseInt(input[1]);
  
  if ( s <= 0 )
    console.log("unsafe");
  else
    console.log("safe")

}

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