| II Olympiad of classes at the Mechanics and Mathematics Faculty of MSU in programming 2023. |
|---|
| Finished |
Arthur and Nikita, tired of playing chess, came up with a new game. Each player starts with a number, $$$a$$$ and $$$b$$$ respectively. First, Arthur appends $$$n$$$ digits to the right of his number $$$a$$$, then Nikita appends $$$m$$$ digits to the right of his number $$$b$$$. The winner is the player whose resulting number is greater. Your task is to determine the outcome of the game given the numbers $$$a$$$, $$$b$$$, $$$n$$$, and $$$m$$$, assuming that both players follow an optimal strategy.
The input consists of a single line containing four integers $$$a$$$, $$$b$$$, $$$n$$$, and $$$m$$$ $$$(1 \le a, b, n, m \le 10^9)$$$.
Output the word "Arthur" if Arthur wins, "Nikita" if Nikita wins, and "Draw" if the game ends in a tie.
1 2 3 4
Nikita
54 54 54 54
Draw
11 10 2 2
Arthur
| Name |
|---|


