#include<bits/stdc++.h>
using namespace std;
int main(){
  int a,b,c;
  cin>>a>>b>>c;
  if(a>=c) cout<<"delicious";
  else {
    if(a+b>=c) cout<<"safe";
    else cout<<"dangerous";
  }
  cout<<"\n";
}
