function main(input){
  input = input.split('\n');
  const [S, W] = input[0].split(' ').map(Number);

  const ret = (S <= W)?
    'unsafe' : 'safe'

  console.log(ret)
}
main(require('fs').readFileSync('/dev/stdin', 'utf8').trim());
