Takahashi has a strong stomach. He never gets a stomachache from eating something whose "best-by" date is at most X days earlier.
He gets a stomachache if the "best-by" date of the food is X+1 or more days earlier, though.
Other than that, he finds the food delicious if he eats it not later than the "best-by" date. Otherwise, he does not find it delicious.
Takahashi bought some food A days before the "best-by" date, and ate it B days after he bought it.
Write a program that outputs delicious if he found it delicious, safe if he did not found it delicious but did not get a stomachache either, and dangerous if he got a stomachache.

-----Constraints-----
 - 1 ≤ X,A,B ≤ 10^9

-----Input-----
Input is given from Standard Input in the following format:
X A B

-----Output-----
Print delicious if Takahashi found the food delicious; print safe if he neither found it delicious nor got a stomachache; print dangerous if he got a stomachache.

-----Sample Input-----
4 3 6

-----Sample Output-----
safe

He ate the food three days after the "best-by" date. It was not delicious or harmful for him.
[{"code": "X,A,B=list(map(int,input().split()))\nif A-B>=0:\n    print(\"delicious\")\nelif -A+B<=X:\n    print(\"safe\")\nelse:\n    print(\"dangerous\")\n", "passed": true, "time": 0.23, "memory": 14340.0, "status": "done"}, {"code": "x,a,b = map(int,input().split())\n\nif a>=b: print('delicious')\nelif a+x+1>b: print('safe')\nelse: print('dangerous')", "passed": true, "time": 0.19, "memory": 14048.0, "status": "done"}, {"code": "import sys\n\nsys.setrecursionlimit(10 ** 8)\nini = lambda: int(sys.stdin.readline())\ninl = lambda: [int(x) for x in sys.stdin.readline().split()]\nins = lambda: sys.stdin.readline().rstrip()\ndebug = lambda *a, **kw: print(\"\\033[33m\", *a, \"\\033[0m\", **dict(file=sys.stderr, **kw))\n\n\ndef solve():\n    x, a, b = inl()\n    if b - a > x:\n        return \"dangerous\"\n    elif b > a:\n        return \"safe\"\n    return \"delicious\"\n\n\nprint(solve())\n", "passed": true, "time": 0.19, "memory": 14208.0, "status": "done"}, {"code": "a,b,c = [int(x) for x in input().split()]\nif b >= c:\n  print(\"delicious\")\nelif c > (a + b):\n  print(\"dangerous\")\nelse:\n  print(\"safe\")", "passed": true, "time": 0.16, "memory": 14248.0, "status": "done"}, {"code": "x, a, b = list(map(int, input().split()))\np = b - a\nif p <= 0:\n  print(\"delicious\")\nelif x >= p:\n  print(\"safe\")\nelse:\n  print(\"dangerous\")\n", "passed": true, "time": 0.3, "memory": 14048.0, "status": "done"}, {"code": "x, a, b = list(map(int, input().split()))\nif b-a <= 0:\n  print('delicious')\nelif b-a <= x:\n  print('safe')\nelse:\n  print('dangerous')\n", "passed": true, "time": 0.19, "memory": 14268.0, "status": "done"}, {"code": "x, a, b = map(int, input().split())\n\nif b <= a:\n    print('delicious')\nelif (b-a) < (x+1):\n    print('safe')\nelse:\n    print('dangerous')", "passed": true, "time": 0.14, "memory": 14108.0, "status": "done"}, {"code": "x, a, b = list(map(int, input().split()))\n\nif 0 < b <= a:\n    print('delicious')  \nelif a < b <= a+x:\n    print('safe')\nelif a+x < b:\n    print('dangerous')\n", "passed": true, "time": 0.28, "memory": 14308.0, "status": "done"}, {"code": "X, A, B = list(map(int, input().split()))\n\nif B <= A:\n    print(\"delicious\")\nelif B <= A + X:\n    print(\"safe\")\nelse:\n    print(\"dangerous\")\n", "passed": true, "time": 0.29, "memory": 14224.0, "status": "done"}, {"code": "X,A,B=map(int,input().split())\nif B-A<=0 :\n  print(\"delicious\")\nelif B-A<X+1 :\n  print(\"safe\")\nelse :\n  print(\"dangerous\")", "passed": true, "time": 0.19, "memory": 14104.0, "status": "done"}, {"code": "x,a,b=map(int, input().split())\nprint(\"delicious\" if b<=a else \"safe\" if b<=a+x else \"dangerous\")", "passed": true, "time": 0.14, "memory": 14096.0, "status": "done"}, {"code": "x,a,b=map(int, input().split())\nif a>=b:\n  print('delicious')\nelif b-a<=x:\n  print('safe')\nelse:\n  print('dangerous')", "passed": true, "time": 0.19, "memory": 14224.0, "status": "done"}, {"code": "x,a,b=map(int,input().split())\nif 1<=(b-a)<=x:\n    print('safe')\nelif (b-a)>x:\n    print('dangerous')\nelse:\n    print('delicious')", "passed": true, "time": 0.14, "memory": 14328.0, "status": "done"}, {"code": "\nx,a,b = list(map(int,input().split()))\nprint((\"dangerous\" if x<(b-a) else \"safe\" if a<b else \"delicious\"))\n", "passed": true, "time": 0.3, "memory": 13960.0, "status": "done"}, {"code": "x,a,b = map(int,input().split())\nif b <= a:\n    print('delicious')\nelif b - a <= x:\n    print('safe')\nelse:\n    print('dangerous')", "passed": true, "time": 0.23, "memory": 14164.0, "status": "done"}, {"code": "x,a,b = map(int,input().split())\nprint(\"dangerous\" if b-a>x else \"safe\" if b-a>0 else \"delicious\")", "passed": true, "time": 0.15, "memory": 14184.0, "status": "done"}, {"code": "x, a, b  = map(int, input().split())\nif b-a > x:\n    print('dangerous')\nelif b-a > 0:\n    print('safe')\nelse:\n    print('delicious')", "passed": true, "time": 0.23, "memory": 14136.0, "status": "done"}, {"code": "x,a,b = map(int,input().split())\n\nprint('delicious') if b <= a else print('safe') if b <= a+x else print('dangerous')\n", "passed": true, "time": 0.16, "memory": 14224.0, "status": "done"}, {"code": "x,a,b=map(int,input().split())\nif a>=b:\n    print(\"delicious\")\nelif 0<b-a<=x:\n    print(\"safe\")\nelse:\n    print(\"dangerous\")", "passed": true, "time": 0.14, "memory": 14164.0, "status": "done"}, {"code": "x, a, b = map(int, input().split())\n\n\nif a-b >= 0:\n    print(\"delicious\")\nelif b-a <= x:\n    print(\"safe\")\nelse:\n    print(\"dangerous\")", "passed": true, "time": 0.15, "memory": 14336.0, "status": "done"}, {"code": "lst = input().split()\n\nX = int(lst[0])\nA = int(lst[1])\nB = int(lst[2])\n\nd = B - A\n\nif d <= 0:\n   print('delicious')\nelif d <= X:\n   print('safe')\nelse:\n   print('dangerous')", "passed": true, "time": 0.16, "memory": 14336.0, "status": "done"}, {"code": "a,b,c=map(int,input().split())\nif c<=b:\n  print(\"delicious\")\nelif c<=a+b:\n  print(\"safe\")\nelse:\n  print(\"dangerous\")", "passed": true, "time": 0.14, "memory": 14032.0, "status": "done"}, {"code": "x,a,b=map(int,input().split())\nif b<=a:print('delicious')\nelif b<=a+x:print('safe')\nelse:print('dangerous')", "passed": true, "time": 0.14, "memory": 14312.0, "status": "done"}, {"code": "x, a, b = list(map(int, input().split()))\nif b <= a:\n    print(\"delicious\")\nelif a < b <= a + x:\n    print(\"safe\")\nelse:\n    print(\"dangerous\")\n", "passed": true, "time": 0.14, "memory": 14228.0, "status": "done"}, {"code": "X,A,B=map(int,input().split())\ndate=A-B\nif date>=0:\n    ans=\"delicious\"\nelif abs(date)>X:\n    ans=\"dangerous\"\nelse:\n    ans=\"safe\"\nprint(ans)", "passed": true, "time": 0.14, "memory": 14268.0, "status": "done"}, {"code": "x,a,b=map(int,input().split())\nprint([['dangerous','safe'][a+x>=b],'delicious'][a>=b])", "passed": true, "time": 0.14, "memory": 14072.0, "status": "done"}, {"code": "X, A, B = list(map(int, input().split()))\nif A - B >= 0:\n    print('delicious')\nelif A + X - B >= 0:\n    print('safe')\nelse:\n    print('dangerous')", "passed": true, "time": 0.14, "memory": 14056.0, "status": "done"}, {"code": "a,b,c=map(int,input().split(\" \"))\nif c>a+b:print(\"dangerous\")\nelif c>a:print(\"safe\")\nelse:print(\"delicious\")", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}, {"code": "X,A,B = list(map(int,input().split()))\nif B-A<=0:print(\"delicious\")\nelif B-A <=X:print(\"safe\")\nelse:print(\"dangerous\")\n", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "x, a, b = map(int, input().split())\nif b <= a:\n  print(\"delicious\")\nelif b - a <= x:\n  print(\"safe\")\nelif b - a > x:\n  print(\"dangerous\")", "passed": true, "time": 0.14, "memory": 14192.0, "status": "done"}, {"code": "x, a, b = map(int, input().split())\nif b-a <= 0:\n  print('delicious')\nelif b-a <= x:\n  print('safe')\nelse:\n  print('dangerous')", "passed": true, "time": 0.14, "memory": 14228.0, "status": "done"}, {"code": "X,A,B=map(int,input().split())\n\nif B<=A:\n  print('delicious')\nelif B>(X+A):\n  print('dangerous')\nelse:\n  print('safe')", "passed": true, "time": 0.15, "memory": 14308.0, "status": "done"}, {"code": "X,A,B = map(int,input().split())\n \nif B <= A:\n    print(\"delicious\")\nelif B <= A+X:\n    print(\"safe\")\nelse:\n    print(\"dangerous\")", "passed": true, "time": 0.15, "memory": 14060.0, "status": "done"}, {"code": "x, a, b = map(int,input().split())\nif b <= a:\n    print('delicious')\nelif b <= a + x:\n    print('safe')\nelse:\n    print('dangerous')", "passed": true, "time": 0.19, "memory": 14152.0, "status": "done"}, {"code": "X, A, B = map(int, input().split())\n\nif B - A <= 0:\n    print('delicious')\nelif B - A <= X:\n    print('safe')\nelse:\n    print('dangerous')", "passed": true, "time": 0.15, "memory": 14080.0, "status": "done"}, {"code": "x,a,b = list(map(int,input().split()))\nif a>=b:\n    print('delicious')\nelif x>=b-a:\n    print('safe')\nelse:\n    print('dangerous')\n", "passed": true, "time": 0.15, "memory": 14308.0, "status": "done"}, {"code": "X, A, B = list(map(int, input().split()))\nif B <= A:\n    print('delicious')\nelif B <= A + X:\n    print('safe')\nelse:\n    print('dangerous')\n", "passed": true, "time": 0.15, "memory": 14096.0, "status": "done"}, {"code": "x,a,b =map(int,input().split())\nif b-a<=0:\n  print(\"delicious\")\nelif (b-a)>0 and (b-a)<=x:\n  print(\"safe\")\nelse:\n  print(\"dangerous\")", "passed": true, "time": 0.14, "memory": 14380.0, "status": "done"}, {"code": "x,a,b = map(int, input().split())\nif b <= a:\n    print('delicious')\nelif a < b <= x+a:\n    print('safe')\nelse:\n    print('dangerous')", "passed": true, "time": 0.18, "memory": 14192.0, "status": "done"}, {"code": "a, b, c= list(map(int, input().split()))\nif b >= c:\n  print(\"delicious\")\nelif c-b<=a:\n  print(\"safe\")\nelse:\n  print(\"dangerous\")\n", "passed": true, "time": 0.19, "memory": 14100.0, "status": "done"}, {"code": "x,a,b=map(int,input().split())\ny=b-a\nif y > x:\n  print('dangerous')\nelif 0 < y <=x:\n  print('safe')\nelif y <= 0:\n  print('delicious')", "passed": true, "time": 0.15, "memory": 14264.0, "status": "done"}, {"code": "x, a, b=list(map(int, input().split()))\nif a>=b:\n  print('delicious')\nelse:\n  if b-a<x+1:\n    print('safe')\n  else:\n    print('dangerous')\n", "passed": true, "time": 0.14, "memory": 14288.0, "status": "done"}, {"code": "x,a,b=map(int,input().split())\n\ntmp = b-a\nif tmp <= 0:print('delicious')\nelif tmp <= x:print('safe')\nelse:print('dangerous')", "passed": true, "time": 0.2, "memory": 14120.0, "status": "done"}, {"code": "def solve():\n    x, a, b = map(int, input().split())\n    if b <= a:\n        print('delicious')\n    elif a < b <= a + x:\n        print('safe')\n    else:\n        print('dangerous')\n\n\ndef __starting_point():\n    solve()\n__starting_point()", "passed": true, "time": 0.14, "memory": 14132.0, "status": "done"}, {"code": "x,a,b = map(int, input().split())\nif a >= b:\n  print(\"delicious\")\nelif a+x >= b:\n  print(\"safe\")\nelse:\n  print(\"dangerous\")", "passed": true, "time": 0.15, "memory": 14160.0, "status": "done"}, {"code": "X, A, B = map(int, input().split())\nif A-B >= 0:\n    print(\"delicious\")\nelif B-A <= X:\n    print(\"safe\")\nelse:\n    print(\"dangerous\")", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "X, A, B = map(int, input().split())\n\nif A >= B:\n    print('delicious')\nelif A + X < B:\n    print('dangerous')\nelse:\n    print('safe')", "passed": true, "time": 0.21, "memory": 14188.0, "status": "done"}, {"code": "x,a,b=map(int,input().split())\nprint(\"dangerous\" if x<b-a else \"safe\" if a<b else \"delicious\")", "passed": true, "time": 0.23, "memory": 14324.0, "status": "done"}, {"code": "x,a,b = map(int,input().split())\n\nif a >= b:\n  print(\"delicious\")\nelif b > (x + a):\n  print(\"dangerous\")\nelse:\n  print(\"safe\")", "passed": true, "time": 0.14, "memory": 14064.0, "status": "done"}, {"code": "#k = int(input())\n#s = input()\n#a, b = map(int, input().split())\n#s, t = map(str, input().split())\n#l = list(map(int, input().split()))\n#l = [list(map(int,input().split())) for i in range(n)]\n#a = [list(input()) for _ in range(n)]\n\nx,a,b = list(map(int, input().split()))\n\nif (b <= a):\n    print(\"delicious\")\nelif (b <= x+a):\n    print(\"safe\")\nelse:\n    print(\"dangerous\")\n\n", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "x, a, b = map(int, input().split())\nprint(\"delicious\" if b - a <= 0 else \"safe\" if b - a <= x else \"dangerous\")", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}, {"code": "x,a,b=list(map(int, input().split()))\n\n\nif -a+b <=0:\n  print('delicious')\nelif -a+b < x+1:\n  print('safe')\nelse:\n  print('dangerous')\n", "passed": true, "time": 0.14, "memory": 14064.0, "status": "done"}, {"code": "x,a,b=map(int,input().split())\nprint(\"delicious\"if a>=b else\"safe\"if x+a>=b else 'dangerous')", "passed": true, "time": 0.14, "memory": 14332.0, "status": "done"}, {"code": "x,a,b = map(int,input().split())\nprint(\"delicious\" if b <= a else \"safe\" if b <= a+x else \"dangerous\")", "passed": true, "time": 0.14, "memory": 14076.0, "status": "done"}, {"code": "x,a,b = list(map(int,input().split()))\nif a >= b:\n    print('delicious')\nelif x + a >= b:\n    print('safe')\nelse:\n    print('dangerous')\n\n", "passed": true, "time": 0.33, "memory": 14284.0, "status": "done"}, {"code": "days_of_fine, day_before_expiration, eating_day = map(int, input().split())\n\nif eating_day <= day_before_expiration:\n    print('delicious')\nelif day_before_expiration < eating_day <= days_of_fine + day_before_expiration:\n    print('safe')\nelse:\n    print('dangerous')", "passed": true, "time": 0.14, "memory": 14296.0, "status": "done"}, {"code": "x,a,b = map(int,input().split())\n\nif a-b >= 0:\n  print('delicious')\nelif b-a <= x:\n  print('safe')\nelse:\n  print('dangerous')", "passed": true, "time": 0.14, "memory": 14244.0, "status": "done"}, {"code": "X,A,B = map(int,input().split())\nif B <= A:\n  print('delicious')\nelif A < B and B <= A+X:\n  print('safe')\nelse:\n  print('dangerous')", "passed": true, "time": 0.15, "memory": 14188.0, "status": "done"}, {"code": "X, A, B = map(int,input().split())\nif B <= A:\n  print(\"delicious\")\nelif B <= X + A:\n  print(\"safe\")\nelse:\n  print(\"dangerous\")", "passed": true, "time": 0.15, "memory": 14064.0, "status": "done"}, {"code": "days_of_fine, day_befoe_exparitation, eating_day = map(int, input().split())\n\nif eating_day <= days_of_fine:\n    print('delicious')\nelif day_befoe_exparitation < eating_day <= days_of_fine + day_befoe_exparitation:\n    print('safe')\nelse:\n    print('dangerous')", "passed": true, "time": 0.14, "memory": 14284.0, "status": "done"}, {"code": "x, a, b = map(int, input().split())\nif a >= b:\n  print(\"delicious\")\nelif x >= b-a:\n  print(\"safe\")\nelse:\n  print(\"dangerous\")", "passed": true, "time": 0.19, "memory": 14064.0, "status": "done"}, {"code": "X,A,B=map(int,input().split())\n \nif A>=B:\n  print('delicious')\nelse:\n  if X>=B-A:\n    print('safe')\n  else:\n    print('dangerous')", "passed": true, "time": 0.21, "memory": 14312.0, "status": "done"}, {"code": "X,A,B=map(int,input().split())\nif A-B>=0:\n  print(\"delicious\")\nelif B-A<=X:\n  print(\"safe\")\nelse:\n  print(\"dangerous\")", "passed": true, "time": 0.14, "memory": 14136.0, "status": "done"}, {"code": "x,a,b=map(int,input().split())\nprint([[\"delicious\",\"safe\"][a<b],\"dangerous\"][x+a<b])", "passed": true, "time": 0.21, "memory": 14156.0, "status": "done"}, {"code": "import sys\ninput = lambda: sys.stdin.readline().rstrip() \nsys.setrecursionlimit(10**7)\nINF = 10**20\ndef I(): return int(input())\ndef F(): return float(input())\ndef S(): return input()\ndef LI(): return [int(x) for x in input().split()]\ndef LI_(): return [int(x)-1 for x in input().split()]\ndef LF(): return [float(x) for x in input().split()]\ndef LS(): return input().split()\n\ndef resolve():\n    X, A, B = LI()\n\n    if B <= A:\n        print('delicious')\n    elif A < B <= A + X:\n        print('safe')\n    else:\n        print('dangerous')\n\ndef __starting_point():\n    resolve()\n__starting_point()", "passed": true, "time": 0.14, "memory": 14292.0, "status": "done"}, {"code": "def iroha():\n    x, a, b = list(map(int, input().split()))\n    \n    if a - b >= 0:\n        print(\"delicious\")\n    elif x+a-b >= 0:\n        print(\"safe\") \n    else:\n        print(\"dangerous\")\n\ndef __starting_point():\n    iroha()\n\n\n__starting_point()", "passed": true, "time": 0.2, "memory": 14048.0, "status": "done"}, {"code": "X, A, B = [ int(v) for v in input().split(\" \") ]\n\n# A: 3 B: 4 X: 3\n\nresult = A - B\n\nif result >= 0:\n  print(\"delicious\")\nelif abs(result) > X:\n  print(\"dangerous\")\nelse:\n  print(\"safe\")\n\n", "passed": true, "time": 0.21, "memory": 14088.0, "status": "done"}, {"code": "a,b,c=input().split()\na=int(a)\nb=int(b)\nc=int(c)\nif (b-c)>=0:\n  print(\"delicious\")\nelse:\n  if (b-c)>=-a:\n    print(\"safe\")\n  else:\n    print(\"dangerous\")", "passed": true, "time": 0.2, "memory": 14180.0, "status": "done"}, {"code": "x,a,b=map(int,input().split())\n\nif b-a<=0:\n    ans=\"delicious\"\nelif b-a<=x:\n    ans=\"safe\"\nelse:\n    ans=\"dangerous\"\n\nprint(ans)", "passed": true, "time": 0.24, "memory": 14244.0, "status": "done"}, {"code": "x,a,b=map(int,input().split())\nif (b-a)<=0 :\n    print(\"delicious\")\nelif  0<(b-a)<=x:\n    print(\"safe\")\nelse:\n    print(\"dangerous\")", "passed": true, "time": 0.14, "memory": 14248.0, "status": "done"}, {"code": "x,a,b = map(int,input().split())\nif b<=a:\n  print(\"delicious\")\nelif b<=a+x:\n  print(\"safe\")\nelse:\n  print(\"dangerous\")", "passed": true, "time": 0.14, "memory": 14228.0, "status": "done"}, {"code": "X, A, B = map(int, input().split())\n\nif B - A <= 0:\n    print(\"delicious\")\nelif B - A <= X:\n    print(\"safe\")\nelse:\n    print(\"dangerous\")", "passed": true, "time": 0.14, "memory": 14232.0, "status": "done"}, {"code": "#\n# abc065 a\n#\n\nimport sys\nfrom io import StringIO\nimport unittest\n\n\nclass TestClass(unittest.TestCase):\n    def assertIO(self, input, output):\n        stdout, stdin = sys.stdout, sys.stdin\n        sys.stdout, sys.stdin = StringIO(), StringIO(input)\n        resolve()\n        sys.stdout.seek(0)\n        out = sys.stdout.read()[:-1]\n        sys.stdout, sys.stdin = stdout, stdin\n        self.assertEqual(out, output)\n\n    def test_\u5165\u529b\u4f8b_1(self):\n        input = \"\"\"4 3 6\"\"\"\n        output = \"\"\"safe\"\"\"\n        self.assertIO(input, output)\n\n    def test_\u5165\u529b\u4f8b_2(self):\n        input = \"\"\"6 5 1\"\"\"\n        output = \"\"\"delicious\"\"\"\n        self.assertIO(input, output)\n\n    def test_\u5165\u529b\u4f8b_3(self):\n        input = \"\"\"3 7 12\"\"\"\n        output = \"\"\"dangerous\"\"\"\n        self.assertIO(input, output)\n\n\ndef resolve():\n    X, A, B = list(map(int, input().split()))\n\n    if A-B >= 0:\n        print(\"delicious\")\n    elif B-A <= X:\n        print(\"safe\")\n    else:\n        print(\"dangerous\")\n\n\ndef __starting_point():\n    # unittest.main()\n    resolve()\n\n__starting_point()", "passed": true, "time": 0.15, "memory": 14624.0, "status": "done"}, {"code": "#n = int(input())\nx, a, b = list(map(int, input().split()))\n#l = list(map(int,input().split()))\n#l = [list(map(int,input().split())) for i in range(n)]\n\nif a >= b:\n    ans = 'delicious'\nelif a+x >= b:\n    ans = 'safe'\nelse:\n    ans = 'dangerous'\nprint(ans)\n", "passed": true, "time": 0.14, "memory": 14208.0, "status": "done"}, {"code": "#!/usr/bin/env python3\nX, A, B = list(map(int, input().split()))\n\nif B <= A:\n    print('delicious')\nelif B - A <= X:\n    print('safe')\nelse:\n    print('dangerous')\n", "passed": true, "time": 0.23, "memory": 14192.0, "status": "done"}, {"code": "X, A, B = map(int, input().split())\nif A-B >= 0:\n    print('delicious')\nelif A-B >= -X:\n    print('safe')\nelse:\n    print('dangerous')", "passed": true, "time": 0.14, "memory": 14104.0, "status": "done"}, {"code": "x,a,b=list(map(int,input().split()))\nif a>=b:\n  print(\"delicious\")\nelif a+x>=b:\n  print(\"safe\")\nelse:\n  print(\"dangerous\")\n", "passed": true, "time": 0.14, "memory": 14228.0, "status": "done"}, {"code": "x,a,b=map(int,input().split())\nif b-a<=0:print(\"delicious\")\nelif b-a<=x:print(\"safe\")\nelse:print(\"dangerous\")", "passed": true, "time": 0.15, "memory": 14216.0, "status": "done"}, {"code": "x, a, b = map(int, input().split())\n\nif b <= a:\n    print('delicious')\nelif a < b <= a + x:\n    print('safe')\nelse:\n    print('dangerous')", "passed": true, "time": 0.14, "memory": 14324.0, "status": "done"}, {"code": "x, a, b = map(int, input().split())\n\nif b <= a:\n    print('delicious')\nelif b - a <= x:\n    print('safe')\nelse:\n    print('dangerous')", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "x,a,b = list(map(int,input().split()))\nif a >= b:\n  print(\"delicious\")\nelif (b-a) <= x:\n  print(\"safe\")\nelse:\n  print(\"dangerous\")\n", "passed": true, "time": 0.14, "memory": 14308.0, "status": "done"}, {"code": "x,a,b=map(int,input().split())\n\nif b-a<=0:\n  print('delicious')\n  \nelif 0<b-a<=x:\n  print('safe')\n  \nelse:\n  print('dangerous')", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "x, a, b = map(int, input().split())\nif a >= b:\n    print('delicious')\nelif b - a <= x:\n    print('safe')\nelse:\n    print('dangerous')", "passed": true, "time": 0.14, "memory": 14268.0, "status": "done"}, {"code": "x,a,b=map(int,input().split())\nif b<=a:\n  print(\"delicious\")\nelif a<b and b<=a+x:\n  print(\"safe\")\nelse:\n  print(\"dangerous\")", "passed": true, "time": 0.15, "memory": 14244.0, "status": "done"}, {"code": "a,b,c = map(int,input().split())\nif b < c:\n    if abs(b - c) <= a:\n        print(\"safe\")\n    else:\n        print(\"dangerous\")\nelse:\n    print(\"delicious\")", "passed": true, "time": 0.23, "memory": 14124.0, "status": "done"}, {"code": "x,a,b = map(int,input().split())\nif a >= b:\n  print(\"delicious\")\nelif x-(b-a) >= 0:\n  print(\"safe\")\nelse:\n  print(\"dangerous\")", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "x,a,b=map(int,input().split())\nb -= a\nif b <= 0:\n    print('delicious')\n    \nelse:\n    if b > x:\n        print('dangerous')\n    else:\n        print('safe')", "passed": true, "time": 0.14, "memory": 14260.0, "status": "done"}, {"code": "x, a, b = (list(map(int, input().split())))\n\nday = b - a\nif day <= 0:\n    print('delicious')\nelif day <= x:\n    print('safe')\nelse:\n    print('dangerous')\n", "passed": true, "time": 0.14, "memory": 14152.0, "status": "done"}, {"code": "x, a, b = list(map(int, input().split()))\n\nif b <= a:\n    print(\"delicious\")\nelif a < b and abs(a - b) <= x:\n    print(\"safe\")\nelse:\n    print(\"dangerous\")\n", "passed": true, "time": 0.14, "memory": 14232.0, "status": "done"}, {"code": "x, a, b = map(int, input().split())\nif a >= b:\n    print('delicious')\nelif b - a <= x:\n    print('safe')\nelse:\n    print('dangerous')", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "LI = lambda: list(map(int, input().split()))\n\nX, A, B = LI()\n\n\ndef main():\n    x = B - A\n    if x <= 0:\n        ans = \"delicious\"\n    elif x <= X:\n        ans = \"safe\"\n    else:\n        ans = \"dangerous\"\n    print(ans)\n\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.22, "memory": 14244.0, "status": "done"}, {"code": "x, a, b=map(int, input().split())\n\nif a>=b:\n  print('delicious')\nelif b - a < x + 1:\n  print('safe')\nelse:\n  print('dangerous')", "passed": true, "time": 0.14, "memory": 14344.0, "status": "done"}, {"code": "X, A, B=map(int, input().split(\" \"))\n\nif A-B>=0:\n  print('delicious')\nelif B-A>X:\n  print('dangerous')\nelif B-A<=X:\n  print('safe')", "passed": true, "time": 0.14, "memory": 14120.0, "status": "done"}, {"code": "x, a, b = map(int, input().split())\nif b - a <= 0:\n    print('delicious')\nelif b - a <= x:\n    print('safe')\nelse:\n    print('dangerous')", "passed": true, "time": 0.14, "memory": 14296.0, "status": "done"}, {"code": "#!/usr/bin/env python3\nx,a,b=map(int,input().split())\nif a-b >= 0:\n    print('delicious')\nelif a-b >= -x:\n    print('safe')\nelse:\n    print('dangerous')", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "x, a, b = map(int, input().split())\nd = -1*a + b\nif(d <= 0):\n    print(\"delicious\")\nelif(abs(d) <= x):\n    print(\"safe\")\nelse:\n    print(\"dangerous\")", "passed": true, "time": 0.14, "memory": 14332.0, "status": "done"}]