function Main(input) {
 const ab = input.trim().split(' ').map(n=>parseInt(n));
 const result = ab[0] > ab[1];
 console.log(result?'safe':'unsafe')
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));