var input = require('fs').readFileSync('/dev/stdin', 'utf8');

  const arr = input.trim().split('\n').map(Numbar);
	
  if(arr[0] <= arr[1]){
    console.log("unsafe");
  }else{
    console.log("safe");
  }