const main = (input) => {
  const [s, w] = input.trim().split(' ').map(Number)
  return console.log(s <= w ? 'unsafe' : 'safe')
}

process.env.MYTEST ? test() : main(require('fs').readFileSync('/dev/stdin', 'utf8'))