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

  const res = S > W ? 'safe' : 'unsafe';

  console.log(res);
}

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