"use strict";
function main(input) {
    var line = input.split(" ");
    let S = parseInt(line[0]);
    let W = parseInt(line[1]);
    if(W>=S) console.log("unsafe");
    else console.log("safe");
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));