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