Problem:
Score : 100 points

Problem Statement

Alice and Bob are playing One Card Poker.

One Card Poker is a two-player game using playing cards.

Each card in this game shows an integer between 1 and 13, inclusive.

The strength of a card is determined by the number written on it, as follows:

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

One Card Poker is played as follows:

Each player picks one card from the deck. The chosen card becomes the player's hand.

The players reveal their hands to each other. The player with the stronger card wins the game.

If their cards are equally strong, the game is drawn.

You are watching Alice and Bob playing the game, and can see their hands.

The number written on Alice's card is A, and the number written on Bob's card is B.

Write a program to determine the outcome of the game.

Constraints

1≦A≦13

1≦B≦13

A and B are integers.

Input

The input is given from Standard Input in the following format:

A B

Output

Print Alice if Alice will win. Print Bob if Bob will win. Print Draw if the game will be drawn.

Sample Input 1

8 6

Sample Output 1

Alice

8 is written on Alice's card, and 6 is written on Bob's card.
Alice has the stronger card, and thus the output should be Alice.

Sample Input 2

1 1

Sample Output 2

Draw

Since their cards have the same number, the game will be drawn.

Sample Input 3

13 1

Sample Output 3

Bob

Solution in Ruby (2.3.3) (judge verdict: Runtime Error)

n, $ma, $mb = gets.split.map(&:to_i)
$m = Rational($ma, $mb) # mb != 0
y_list = n.times.map do
  a, b, c = gets.split.map(&:to_i)
  {
    a: a,
    b: b,
    c: c,
    m: Rational(a, b), # b != 0
  }
end
# Rational <=> Rational は -1, 0, 1 を返す
y_m = y_list.group_by { |y| y[:m] <=> $m }
# 調合するには、ちょうどの割合があるか、多すぎと少なすぎの両方が必要
if y_m.size == 1 && !y_m.key?(0)
  puts(-1)
  exit
end

$c_min = y_m[0] && y_m[0].map { |y| y[:c] }.min
unless y_m.key?(1) && y_m.key?(-1)
  puts $c_min
  exit
end

$y_g = y_m[1]
$y_l = y_m[-1]

unless $c_min
  ya = y_m[1].first
  yb = y_m[-1].first
  $c_min = ya[:c] * (yb[:b] * $ma - yb[:a] * $mb) +
          yb[:c] * (ya[:a] * $mb - ya[:b] * $ma)
end

def tansaku(c, a, b)
  return if c >= $c_min
  case Rational(a, b) <=> $m
  when 1
    $y_l.each do |y|
      tansaku(c + y[:c], a + y[:a], b + y[:b])
    end
  when -1
    $y_g.each do |y|
      tansaku(c + y[:c], a + y[:a], b + y[:b])
    end
  when 0
    $c_min = c
    return
  end
end

$y_g.each do |y|
  tansaku(y[:c], y[:a], y[:b])
end

puts $c_min