const main = (input) => {
  const [s, w] = input.trim().split(' ').map(v => parseInt(v, 10))

  s <= w ? console.log('unsafe') : console.log('safe')
}


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