"use strict";

const main = (input) => {
    const spi = input.split('\n');
    const [s, w] = spi[0].split(' ').map(e => Number(e));

    console.log(s <= w ? "unsafe" : "safe");
};

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