'use strict';
const main = arg => {
  const arr = arg.trim().split('\n').map(Numbar);
	
  if(arr[0] <= arr[1]){
    console.log("unsafe");
  }else{
    console.log("safe");
  }
}
 
 
main(require("fs").readFileSync("/dev/stdin", "utf8"));