#B4178. Card Game Showdown

    ID: 11835 Type: Default 1000ms 256MiB

Card Game Showdown

Card Game Showdown

A and B each have a card from a set of cards with values from 1 to 13. The cards follow a special ranking order defined as follows:

$$2 < 3 < 4 < 5 < 6 < 7 < 8 < 9 < 10 < 11 < 12 < 13 < 1$$

Both players reveal one card. If A's card ranks higher according to the above order, output Awesome. If B's card ranks higher, output Brilliant. If both cards are equal, output Draw.

inputFormat

The input consists of two integers separated by a space representing the card drawn by A and B respectively.

For example:

1 13

outputFormat

Output a single word:

  • Awesome if A wins,
  • Brilliant if B wins,
  • Draw if it is a tie.

sample

1 13
Awesome