const main = (inputs) => {
  var array = inputs[0].split(" ");
  if (array[0] > array[1]) {
    console.log('safe');
  } else {
    console.log('unsafe');
  }

}
main(require('fs').readFileSync('/dev/stdin', 'UTF-8').trim().split("\n"));