const Main = (input) => {
	let i = input.split(' ')
  	let a = i.map(x => Number(x))
  	let ans = a[0] > a[1] ? 'safe' : 'unsafe'
    console.log(ans)
}

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