function Main(input) {
var a = parseInt(input[0], 10);
var b = parseInt(input[1], 10);
 
if (a>b){
	return 'safe'
} else {
    return 'unsafe'
}
 
}
 
Main(require("fs").readFileSync("/dev/stdin", "utf8"));