inp = require('fs').readFileSync('/dev/stdin', 'utf8').split('\n')[0].split(' ')
X = inp.shift() * 1
A = inp.shift() * 1
B = inp.shift() * 1
console.log(B - A > X ? 'dangerous' : B - A <= 0 ? 'delicious' : 'safe')