function main(input) {
  const i = input.split(' ');
  const s = parseInt(i[0]);
  const w = parseInt(i[1]);
  if (s > w) console.log('safe');
  else console.log('unsafe');
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));