function Main(input) {
	input = input.split(" ").map(v=>Number(v));
	if(input[0]>input[1]){
        console.log('safe');
    }else{
        console.log('unsafe');
    }
	
}

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