'use strict'

function main(input) {
    const s = Number(input.split('\n')[0].split(' ')[0]);
    const w = Number(input.split('\n')[0].split(' ')[1]);
    if (s <= w) console.log('unsafe');
    else console.log('safe');
}

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