#include<iostream>

using namespace std;

int main(){
  int X,A,B; cin>>X>>A>>B;

  if(B<=A) cout<<"delicious"<<endl;
  else if(B<=(A+X)) cout<<"safe"<<endl;
  else cout<<"dangerous"<<endl;

  return 0;
}
