function Main(input) {
	input = input.split("\n");
	tmp = input[0].split(" ");
  	if(Number(tmp[0]) > Number(tmp[1])) return console.log('safe')
  	else console.log('unsafe')
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));