function Main(input) {
    var S = parseInt(input[0], 10)
    var W = parseInt(input[1], 10)

    console.log(S <= W ? 'unsafe': 'safe');
}

Main(require("fs").readFileSync("/dev/stdin", "utf8").trim().split(/\n|\s/));