function main(s) {
	s = s.split("\n")[0].split(" ").map(x => Number(x));
	console.log(s[1]>=s[2]?"delicious":s[2]-s[1]<=s[0]?"safe":"dangerous");
}
main(require("fs").readFileSync("/dev/stdin", "utf8"));

