The Running Race @ Dcoder

Words
79
Reading
1 min
Listen
Play
3y

Problem: Alex and Ryan are having a running competition between themselves. They have to cover a distance of D meter. The speed of Alex and Ryan are X meter/second and Y meter/second respectively. Help the judge by telling him who will win the competition.
Input: Input consists of a single line, contains 3 integers D, X and Y .
Output: Print "Alex" if Alex wins, print "Ryan" if Ryan wins. If it is a draw print "Draw".
Constraints: 1<=D,X,Y<=100
Sample Input: 10 2 3
Sample Output:
Ryan
Link

d, x, y = map(int, input().split())
if x > y:
  print('Alex')
elif y > x:
  print('Ryan')
else:
  print('Draw')