'use strict'
function main(inp) {
  inp = inp.trim().split(' ').map(x=> x*1);
  if(inp[0] > inp[1]){
  	console.log("safe");
  } else {
    console.log("unsafe");
  }
}

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