const main = input => {
  const i = input.split(" ").map(e => parseInt(e))
  const s = i[0]
  const w = i[1]
  return s <= w ? "unsafe" : "safe"
}

console.log(main(require('fs').readFileSync('/dev/stdin', 'utf8')));