const input = require('fs').readFileSync('/dev/stdin', 'utf8');
const args = input.split(' ');
const a = args[0]
const b = args[1]

if (a <= b) {
    console.log("unsafe")
} else {
    console.log("safe")
};
