Oleg vs Andriy
Limits: 2 sec., 256 MiB
Oleg and Andriy are two rhinoceros beetles. Both of them like proving the existence of impossible situations. This time, to prove his correctness, Oleg suggested playing a game. They need to propose a novel operation for three digits, and whose result is higher is the winner. Andriy only knows how to add numbers, while Oleg can only concatenate them without changing the order.
Given three digits, determine the winner, or say that it is a draw.
Input
Three digits \(a, b, c\) in one line.
Output
Print the name of the winner (Andriy
or
Oleg
) or Draw
if their results are the
same.
Constraints
\(0 \le a, b, c \le 9\).
Samples
Input (stdin) | Output (stdout) |
---|---|
1 2 3 | Oleg |
Input (stdin) | Output (stdout) |
---|---|
0 0 0 | Draw |
Source: Open LNU Programming Contest 2021
Submit a solution
Element Type | Created | Who | Problem | Compiler | Result | Time (sec.) | Memory (MiB) | # | Actions |
---|
Element Type | Created | Who | Problem | Compiler | Result | Time (sec.) | Memory (MiB) | # | Actions |
---|