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