read str
ary=(`echo $str`)
d=${ary[0]}
a=${ary[1]}
b=${ary[2]}
x=$(( $a+$b ))
if [ "$b" -le "$a" ];
    then echo "delicious"
elif [ "$b" -le "$x" ];
    then echo "safe"
elif [ "$b" -gt "$x" ];
    then echo "dangerous"
fi