function Main(input) {
	tmp = input.split(" ");
	s = parseInt(tmp[0], 10);
	w = parseInt(tmp[0], 10);
  if (s <= w) {
  	console.log('unsafe')
  } else {
  	console.log('safe')
  }
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));