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-----
8 6

-----Sample Output-----
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.

Difficulty: introductory

Starter code:

Solutions:
a,b = map(int, input().split())
if a == b:
  print("Draw")
elif a == 1 or (a > b and b != 1):
  print("Alice")
else:
  print("Bob")

import sys, math
from itertools import combinations as c, product as p
from collections import deque
sys.setrecursionlimit(10**9)


def si(): return input()
def ii(): return int(input())
def fi(): return float(input())
def lstr(): return input().split()
def lint(): return list(map(int, input().split()))
def lint_dec(): return list(map(lambda x:int(x) - 1, input().split()))
def lnstr(n): return [input() for _ in range(n)]
def lnint(n): return [int(input()) for _ in range(n)]
def lint_list(n): return [lint() for _ in range(n)]



############################################################
A, B = lint()
if A > 1:
    A -= 13
if B > 1:
    B -= 13
print('Alice' if A > B else 'Bob' if A < B else 'Draw')

a, b = map(int, input().split())
st_l = [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1]

if st_l.index(a) > st_l.index(b):
    print('Alice')
elif st_l.index(a) < st_l.index(b):
    print('Bob')
else:
    print('Draw')

a, b = map(int, input().split())
if a == b:
  print('Draw')
elif a == 1:
  print('Alice')
elif b == 1:
  print('Bob')
elif a > b:
  print('Alice')
elif b > a:
  print('Bob')

A, B = map(int,input().split())

if A==1:
    A=14
if B==1:
    B=14

if A > B:
    print('Alice')
elif B > A:
    print('Bob')
else:
    print('Draw')

a, b = map(int, input().split())

if a == b:
    print('Draw')
elif a == 1 or a > b != 1:
    print('Alice')
else:
    print('Bob')

# AliceとBobは、2人で1枚ポーカーを行います。
# 1枚ポーカーは、トランプを用いて行う2人ゲームです。
#
# 今回使用するトランプでは、各カードに 1 から 13 までの数が書かれています。
# カードの強さは、カードに書かれている数で決まり，強さの基準は以下の通りです。
# 弱 2 < 3 < 4 < 5 < 6 < 7 < 8 < 9 < 10 < 11 < 12 < 13 < 1 強
#
# 1枚ポーカーは以下の手順で行います。
#
# 各プレイヤーは、トランプからカードを1枚選んで、自分の手札とします。
# 両プレイヤーは、手札を見せ合います。強いカードを持っているプレイヤーが勝ちです。
# なお、両プレイヤーの持っているカードの強さが同じ場合は引き分けです。
# 2人の対戦を眺めていたあなたは、AliceとBobの手札を知ることができます。
# Aliceが持っているカードに書かれている数は A、Bobが持っているカードカードに書かれている数は Bです。
# 2人の代わりに、勝敗を判定するプログラムを作ってください。

input_alice, input_bob = list(map(int,input().split()))

result = 'ret'  # 結果格納用

if input_alice > input_bob: # Aの方がBより大きい
    if input_bob == 1:
        result = 'Bob'  # Bobがエースなので勝ち～
    else:
        result = 'Alice'
elif input_alice < input_bob:   # Bの方がAより大きい
    if input_alice == 1:
        result = 'Alice'    # Aliceがエースなので勝ち～
    else:
        result = 'Bob'
else:
    result = 'Draw'         # どっちも同じ手札なので引き分け～

print(result)   # 結果出力～


a,b = list(map(int,input().split()))

li = [2,3,4,5,6,7,8,9,10,11,12,13,1]

a1 = li.index(a)
b1 = li.index(b)

if a1 > b1:
    print('Alice')
elif a1 == b1:
    print('Draw')
else:
    print('Bob')


a,b = map(int,input().split())
if a == 1 and b == 1:
  a = 14
  b = 14
elif b == 1:
  b = 14
elif a == 1:
  a = 14
  
if a>b:
  print("Alice")
elif b>a:
  print("Bob")
else:
  print("Draw")

A, B = map(int, input().split())
A, B = (A+11)%13, (B+11)%13
if A < B:
  print("Bob")
elif A > B:
  print("Alice")
else:
  print("Draw")

A, B = list(map(int, input().split()))

if A == 1 and B == 1:
    print('Draw')
elif A == 1 and B != 1:
    print('Alice')
elif B == 1 and A != 1:
    print('Bob')
elif A > B:
    print('Alice')
elif B > A:
    print('Bob')
else:
    print('Draw')


n=[2,3,4,5,6,7,8,9,10,11,12,13,1]
a,b=map(int,input().split());a,b=n.index(a),n.index(b);print(['DBroabw'[a<b::2],'Alice'][a>b])

a, b = list(map(int, input().split()))
l = [i for i in range(2,14)] + [1]
print((['Draw', 'Alice', 'Bob'][l.index(a) > l.index(b) or -(l.index(a) < l.index(b))]))


# 入力
A, B = map(int,input().split())

# 処理
if A == B:
    print('Draw')
elif A == 1:
    print('Alice')
elif B == 1:
    print('Bob')
elif A > B:
    print('Alice')
else:
    print('Bob')

a, b = map(int,input().split())
if a == 1:
    a += 13
if b == 1:
    b += 13
if a > b:
    print('Alice')
elif a < b:
    print('Bob')
else:
    print('Draw')

a, b = list(map(int, input().split()))

if a == 1:
    a = 14
if b == 1:
    b = 14
    
if a > b:
    print('Alice')
elif a == b:
    print('Draw')
else:
    print('Bob')


a,b=map(int,input().split())
if a==b:
  print("Draw")
elif b!=1 and a!=b:
  if a>b or a==1:
    print("Alice")
  else:
    print("Bob")
else:
  print("Bob")

A, B = list(map(int, input().split()))

ans = ["Alice", "Bob", "Draw"]

if A == 1:
  A = 14
if B == 1:
  B = 14
  
if A > B:
  print((ans[0]))
elif A == B:
  print((ans[2]))
else:
  print((ans[1]))


a,b=map(int,input().split())
if a==1 and b!= 1:
    a += 13
    if a>b:
     print('Alice')
    elif b>a:
     print('Bob')
    else:
     print('Draw')
elif b==1 and a!= 1:
    b += 13
    if a>b:
     print('Alice')
    elif b>a:
     print('Bob')
    else:
     print('Draw')
elif a==1 and b== 1:
     print('Draw')
else:
    if a>b:
     print('Alice')
    elif b>a:
     print('Bob')
    else:
     print('Draw')

a, b = map(int, input().split())

if int(a) == 1 and int(b) != 1:
    print("Alice")
elif int(a) != 1 and int(b) == 1:
    print("Bob")
elif int(a) > int(b):
    print("Alice")
elif int(a) < int(b):
    print("Bob")
elif int(a) == int(b):
    print("Draw")

a,b = [int(a) for a in input().split()]

if a == b:
  print("Draw")
elif a == 1:
  print("Alice")
elif b == 1:
  print("Bob")
elif  a > b:
  print("Alice")
else:
  print("Bob")

a, b = list(map(int, input().split()))

if a == 13 and b == 1:
  print("Bob")
elif a == 1 and b == 13:
  print("Alice")
elif a > b:
  print("Alice")
elif a == b:
  print("Draw")
else:
  print("Bob")


a,b=map(int,input().split())
if a==b:print("Draw")
elif a==1:print("Alice")
elif b==1:print("Bob")
elif a>b:print("Alice")
else :print("Bob")

a, b = map(int, input().split())

if a == b:
    print('Draw')
elif a > b and b != 1 or a == 1 :
    print('Alice')
else:
    print('Bob')

def resolve():
    A, B = list(map(int, input().split()))
    if A == B:
        print("Draw")
    elif A == 1 or (A > B and B != 1):
        print("Alice")
    else:
        print("Bob")

resolve()

A,B=map(int, input().split())
if A == 1:
  A = 14
if B == 1:
  B = 14
if A == B:
  print("Draw")
elif A < B:
  print("Bob")
else:
  print("Alice")

aris_card , bob_card = map(int, input(). split())

if aris_card == 1:
    aris_card += 13
if bob_card == 1:
    bob_card += 13

if aris_card == bob_card:
    print( "Draw" )
elif aris_card > bob_card:
    print( "Alice" )
elif aris_card < bob_card:
    print( "Bob" )

a, b = map(int, input().split())
if a == b:
  print("Draw")
elif a == 1:
  print("Alice")
elif b == 1:
  print("Bob")
elif a > b:
  print("Alice")
else:
  print("Bob")

def solve():
    A, B = map(int, input().split())
    if A == B:
        print('Draw')
    elif A == 1 or (B != 1 and B < A):
        print('Alice')
    else:
        print('Bob')

def __starting_point():
    solve()
__starting_point()

A, B = list(map(int, input().split()))

if A > B and B != 1:
    print('Alice')

elif A > B and B == 1:
    print('Bob')

elif A < B and A != 1:
    print('Bob')
elif A < B and A == 1:
    print('Alice')
else:
    print('Draw')


A,B=map(int,input().split())
if A==1 :
  A=14
if B==1 :
  B=14
if A>B :
  print("Alice")
elif A<B :
  print("Bob")
else :
  print("Draw")

S =input()
S_list = list(map(int,S.split()))
S_list = [i - 1 for i in S_list]

if  S_list[0] == S_list[1] :
    result = "Draw"
elif (S_list[0] - S_list[1]) * S_list[1] >0 or S_list[0] == 0:
    result = "Alice"
else:
    result = "Bob"
print(result)


A, B = map(int, input().split())

if A == B:
    print("Draw")
elif A == 1:
    print("Alice")
elif B == 1:
    print("Bob")
elif A > B:
    print("Alice")
else:
    print("Bob")

A,B=map(int,input().split())
if A==1:
    A=14
if B==1:
    B=14
ans = 'Alice' if A>B else ('Bob' if A<B else 'Draw')
print(ans)

a, b = list(map(int, input().split()))
if a == 1: a = 14
if b == 1: b = 14
print(('Alice' if a > b else 'Bob' if a < b else 'Draw'))


A,B = map(int,input().split())

if A == 1:
  A += 13
if B == 1:
  B += 13
  
print("Alice" if A > B else "Bob" if A < B else "Draw")

a,b = map(int,input().split())

if a == b:
  print('Draw')
  
elif a == 1:
  print('Alice')
  
elif b == 1:
  print('Bob')
  
elif a > b:
  print('Alice')
  
else:
  print('Bob')

# 数字を取得
A,B = map(int,input().split())

# 比較条件に沿ったメッセージを出力
if A == B:
  print("Draw")
else:
  if B != 1 and A > B\
  or A == 1:
    print("Alice")
  else:
    print("Bob")

# aアリス　　　ｂボブ
a, b = list(map(int, input().split()))
if a == b:
    print("Draw")
elif a == 1:
    print("Alice")
elif b == 1:
    print("Bob")
elif a < b:
    print("Bob")
elif b < a:
    print("Alice")


# 054_a
A, B = list(map(int, input().split()))
if (1 <= A & A <= 13) & (1 <= B & B <= 13):
    if A == B:
        print('Draw')
    elif A == 1:
        print('Alice')
    elif B == 1:
        print('Bob')
    elif A > B:
        print('Alice')
    elif A < B:
        print('Bob')


a,b=map(int,input().split())
li=[2,3,4,5,6,7,8,9,10,11,12,13,1]
if li.index(a)<li.index(b):
    print("Bob")
elif li.index(a)>li.index(b):
    print("Alice")
else:
    print("Draw")

a, b = map(int, input().split())

if a == 1:
    a = 14

if b == 1:
    b = 14


if a > b:
    print("Alice")
elif a < b:
    print("Bob")
else:
    print("Draw")

A,B = map(int,input().split())
if A == B:
    print('Draw')
elif A == 1:
    print('Alice')
elif B == 1:
    print('Bob')
elif A > B:
    print('Alice')
elif B > A:
    print('Bob')

a, b = list(map(int, input().split()))

if a == 1:
    a = 14

if b == 1:
    b = 14

if a > b:
    print('Alice')
elif a < b:
    print('Bob')
else:
    print('Draw')


l = list(range(2,14))+[1]
a,b = list(map(int,input().split()))
a,b = l.index(a),l.index(b)
print(("Draw" if a == b else "Alice" if a > b else "Bob"))


A, B = list(map(int, input().split()))
if A == 1:
    A = 14
if B == 1:
    B = 14

if A < B:
    print("Bob")
elif A > B:
    print("Alice")
else:
    print("Draw")


a, b = map(int, input().split())
if(a == b):
    print("Draw")
elif((a > b and b != 1) or a == 1):
    print("Alice")
else:
    print("Bob")

A, B = map(lambda x:int(x) if int(x)> 1 else 14, input().split())
if A > B:
    print('Alice')
if A == B:
    print('Draw')
if A < B:
    print('Bob')

A, B = list(map(int, input().split()))
if A == 1:
  A += 100
if B == 1:
  B += 100
if A > B:
  print("Alice")
elif A < B:
  print("Bob")
else:
  print("Draw")


A,B = map(int, input().split())
if A == 1:
    A = 14
if B == 1:
    B = 14
if A == B:
    print('Draw')
elif A > B:
    print('Alice')
else:
    print('Bob')

a, b = map(int, input().split())

if a == b:
    print('Draw')
elif a == 1:
    print('Alice')
elif b == 1:
    print('Bob')
elif a > b:
    print('Alice')
else:
    print('Bob')

A, B = map(int, input().split())

if A < B:
    if A == 1:
        ans = 'Alice'
    else:
        ans = 'Bob'
elif B < A:
    if B == 1:
        ans = 'Bob'
    else:
        ans = 'Alice'
else:
    ans = 'Draw'

print(ans)

a,b=map(int,input().split())
if a == b:
    print("Draw")
elif a == 1:
    print("Alice")
elif b == 1:
    print("Bob")
elif a > b:
    print("Alice")
elif a < b:
    print("Bob")

A,B=map(int,input().split())
if A==B:
  print("Draw")
elif A==1:
  print("Alice")
elif B==1:
  print("Bob")
elif A>B:
  print("Alice")
else:
  print("Bob")

a, b = list(map(int, input().split()))

if a == 1:
    a = 14

if b == 1:
    b = 14



if a < b:
    print("Bob")
elif b < a:
    print("Alice")
else:
    print("Draw")


#54
a,b=list(map(int,input().split()))
if ((a==1 and b!=1) or (a>b and b!=1)):
    print('Alice')
elif ((b==1 and a!=1) or (b>a and a!=1)):
    print('Bob')
else:
    print('Draw')


A, B = map(int, input().split())

if A == B:
    print('Draw')
elif A > B != 1 or (A < B and A == 1):
    print('Alice')
else:
    print('Bob')

a,b = [int(x) for x in input().split()]
if a == 1:
  a = 14
if b == 1:
  b = 14
if a < b:
  print("Bob")
elif a > b:
  print("Alice")
else:
  print("Draw")

# # aアリス　　　ｂボブ
# a, b = map(int, input().split())
# if a == b:
#     print("Draw")
# elif a == 1:
#     print("Alice")
# elif b == 1:
#     print("Bob")
# elif a < b:
#     print("Bob")
# elif b < a:
#     print("Alice")

x, y = map(int, input().split())

L = list(range(2, 14)) + [1]
a = L.index(x)
b = L.index(y)

if a>b:
    print("Alice")
elif b>a:
    print("Bob")
else:
    print("Draw")

# 入力
A, B = map(int, input().split())

# 同じなら引き分け、1が出たら勝ち、大きい方が勝ち
if A == B:
    print('Draw')
elif A == 1:
    print('Alice')
elif B == 1:
    print('Bob')
elif A > B:
    print('Alice')
elif A < B:
    print('Bob')

a,b=map(int,input().split())
l=[2,3,4,5,6,7,8,9,10,11,12,13,1]

print("Alice" if l.index(a)>l.index(b) else "Bob" if l.index(a)<l.index(b) else "Draw")

import re
import sys
import math
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
import functools
def v(): return input()
def k(): return int(input())
def S(): return input().split()
def I(): return list(map(int,input().split()))
def X(): return list(input())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 6)
mod = 10**9+7
cnt = 0
ans = 0
inf = float("inf")
al = "abcdefghijklmnopqrstuvwxyz"
AL = al.upper()

A, B = I()
if A == B:
    print("Draw")
elif A == 1:
    print("Alice")
elif B == 1:
    print("Bob")
else:
    if A > B:
        print("Alice")
    else:
        print("Bob")


a, b = (int(x) for x in input().split())

if (a==b):
  print("Draw")
elif (a==1):
  print("Alice")
elif (b==1):
  print("Bob")
elif (a<b):
  print("Bob")
else:
  print("Alice")


a,b=map(int,input().split())
if a==1:
  a=14
if b==1:
  b=14
if a==b:
  print("Draw")
elif a>b:
  print("Alice")
else:
  print("Bob")

import sys

sys.setrecursionlimit(10 ** 8)
ini = lambda: int(sys.stdin.readline())
inl = lambda: [int(x) for x in sys.stdin.readline().split()]
ins = lambda: sys.stdin.readline().rstrip()
debug = lambda *a, **kw: print("\033[33m", *a, "\033[0m", **dict(file=sys.stderr, **kw))


def solve():
    a, b = inl()
    a = (a + 11) % 13
    b = (b + 11) % 13
    if a == b:
        return "Draw"
    elif a > b:
        return "Alice"
    return "Bob"


print(solve())


a,b = map(int,input().split())

if a==1:
  a=14
  
if b==1:
  b=14
  
if a>b:
  print('Alice')
  
elif a<b:
  print('Bob')
  
else:
  print('Draw')

a,b=map(int,input().split())

if a==1:
    a=14
if b==1:
    b=14

if a>b:
    ans="Alice"
elif a<b:
    ans="Bob"
else:
    ans="Draw"
print(ans)

A,B=list(map(int,input().split()))
if A==1:
    A+=13
if B==1:
    B+=13

if(A>B):
    print("Alice")
elif A<B:
    print("Bob")
else:
    print("Draw")


a, b = map(int, input().split())
if a == 1: a += 13
if b == 1: b += 13
if a > b: print('Alice')
elif a < b: print('Bob')
else: print('Draw')

a, b = input().split()


if int(a) == 1 and int(b) != 1:
    print("Alice")
elif int(a) != 1 and int(b) == 1:
    print("Bob")
elif int(a) > int(b):
    print("Alice")
elif int(a) < int(b):
    print("Bob")
elif int(a) == int(b):
    print("Draw")

A,B = map(int,input().split())

if A == B:
    print('Draw')

elif A == 1:
    print('Alice')

elif B == 1:
    print('Bob')

elif A > B:
    print('Alice')

elif B > A:
    print('Bob')

# A - One Card Poker

# 一枚ポーカーの勝敗を判定し出力する


card_A, card_B = list(map(int, input().split()))

if card_A == 1:
    card_A = 14

if card_B == 1:
    card_B = 14

if card_A > card_B:
    print('Alice')
elif card_A < card_B:
    print('Bob')
elif card_A == card_B:
    print('Draw')


# 054a

A, B = list(map(int, input().split()))    # カードの数字を入力

if A == B:
    print("Draw")
elif A == 1:
    print("Alice")
elif B == 1:
    print("Bob")
elif A < B:
    print("Bob")
else:
    print("Alice")



A,B=list(map(int,input().split()))
if A==B:
  print("Draw")
elif (A==1) & (B!=1):
  print("Alice")
elif (B==1) & (A!=1):
  print("Bob")
elif (A>B):
  print("Alice")
elif (A<B):
  print("Bob")


a,b=map(int,input().split())
a=(a-2)%13
b=(b-2)%13
if a<b:print('Bob')
elif a>b:print('Alice')
else:print('Draw')

A, B = map(int,input().split())

if A == 1 and 13 >= B >= 2:
    print("Alice")
elif B == 1 and 13 >= A >= 2:
    print("Bob")
elif A > B:
    print("Alice")
elif B > A:
    print("Bob")
elif A == B:
    print("Draw")

trump=[2,3,4,5,6,7,8,9,10,11,12,13,1]
a,b=map(int,input().split(" "))
if a==b:print("Draw")
else:print(["Alice","Bob"][trump.index(b)>trump.index(a)])

# A - One Card Poker
# https://atcoder.jp/contests/abc054/tasks/abc054_a

A, B = list(map(int, input().split()))

result = 'Alice'

if A == B:
    result = 'Draw'
elif A < B:
    if A == 1:
        result = 'Alice'
    else:
        result = 'Bob'
else:
    if B == 1:
        result = 'Bob'

print(result)


a,b = list(map(int,input().split()))
 
if a == 1 and b != 1:
  print('Alice')
elif b == 1 and a != 1:
  print('Bob')  
elif a > b:
  print('Alice')
elif a == b:
  print('Draw')
else:
  print('Bob')


l = [2,3,4,5,6,7,8,9,10,11,12,13,1]
a, b = map(int, input().split())
if l.index(a) > l.index(b):
    print("Alice")
elif l.index(a) < l.index(b):
    print("Bob")
else:
    print("Draw")

a,b=map(int, input().split())
print("Alice" if (a+12)%14>(b+12)%14 else "Draw" if a==b else "Bob")

import sys, math
from functools import lru_cache
from itertools import accumulate
sys.setrecursionlimit(10**9)
MOD = 10**9+7

def input():
    return sys.stdin.readline()[:-1]

def mi():
    return map(int, input().split())

def ii():
    return int(input())

def i2(n):
    tmp = [list(mi()) for i in range(n)]
    return [list(i) for i in zip(*tmp)]

A, B = mi()

if A == B:
    print('Draw')
elif A == 1:
    print('Alice')
elif B == 1:
    print('Bob')
else:
    if A > B:
        print('Alice')
    else:
        print('Bob')

# import math
# import statistics
#a=input()
#b,c=int(input()),int(input())
# c=[]
# for i in a:
#    c.append(i)
e1,e2 = map(int,input().split())
#K = input()
# f = list(map(int,input().split()))
#g = [input() for _ in range(a)]
a=[2,3,4,5,6,7,8,9,10,11,12,13,1]
if e1==e2:
	print('Draw')
elif a.index(e1)>a.index(e2):
	print('Alice')
else:
	print('Bob')

A, B = map(int, input().split())

if A == B:
    print('Draw')
elif A == 1:
    print('Alice')
elif B == 1:
    print('Bob')
elif A > B:
    print('Alice')
else :
    print('Bob')

"""
ABC054 - A one poker
https://atcoder.jp/contests/abc054/tasks/abc054_a
"""

a, b = list(map(int, input().split()))

if a == 1:
    a += 13
if b == 1:
    b += 13

if a > b:
    ans = 'Alice'
elif a < b:
    ans = 'Bob'
else:
    ans = 'Draw'
print(ans)


A, B = map(int, input().split())

if A == B:
    print('Draw')
elif A == 1 or (A > B and B != 1):
    print('Alice')
else:
    print('Bob')

a, b = list(map(int, input().split()))
if a == 1:
  a =14
if b == 1:
  b =14

if a > b:
  print("Alice")
elif a < b:
  print("Bob")
else:
  print("Draw")
  


a, b = map(int, input().split())
 
if a == 1:
  a = 14
 
if b == 1:
  b = 14
 
print("Alice" if a > b else "Bob" if b > a else "Draw")

#
# abc054 a
#
import sys
from io import StringIO
import unittest


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """8 6"""
        output = """Alice"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """1 1"""
        output = """Draw"""
        self.assertIO(input, output)

    def test_入力例_3(self):
        input = """13 1"""
        output = """Bob"""
        self.assertIO(input, output)


def resolve():
    A, B = list(map(int, input().split()))
    if A == 1:
        A = 14
    if B == 1:
        B = 14

    if A > B:
        print("Alice")
    elif A < B:
        print("Bob")
    else:
        print("Draw")


def __starting_point():
    # unittest.main()
    resolve()

__starting_point()

A, B = map(int, input().split())
cA = (A + 12) % 14
cB = (B + 12) % 14

if cA > cB:
    print("Alice")
elif cA == cB:
    print("Draw")
else:
    print("Bob")

#   AtCoder abc054 a
#   ストレッチ課題

#   入力
alice, bob = list(map(int, input().split()))

#   判定
if alice == bob:
    print("Draw")
elif (alice == 1) or ((bob != 1) and (alice > bob)):
    print("Alice")
else:
    print("Bob")


a,b = map(int,input().split())
if a==b :
    print("Draw")
elif (a==1 or a>b) and b!=1:
    print("Alice")
else :
    print("Bob")

def resolve():
    A,B = map(int,input().split())
    if A==1:A+=13
    if B==1:B+=13 
    
    if A>B:print("Alice")
    elif A<B:print("Bob")
    else :print("Draw")
resolve()

# 入力
A, B = list(map(int, input().split()))

# 出力

if A == B:
    print('Draw')
elif A == 1:
    print('Alice')
elif B == 1:
    print('Bob')
elif A > B:
    print('Alice')
elif B > A:
    print('Bob')


a,b = map(int, input().split())
if a == b:
    print('Draw')
elif a == 1:
    print('Alice')
elif b == 1:
    print('Bob')
elif a > b:
    print('Alice')
else:
    print('Bob')

x, y = map(int,input().split())
L = list(range(2,14)) + [1]
a = L.index(x)
b = L.index(y)
if a > b:
    print("Alice")
elif a == b:
    print("Draw")
else:
    print("Bob")

a,b=map(int,input().split())
if a==b:
  print("Draw")
elif a==1:
  print("Alice")
elif b==1:
  print("Bob")
elif a>b:
  print("Alice")
else:
  print("Bob")

# A - One Card Poker
def main():
    a, b = map(int, input().split())

    if a == b:
        print('Draw')
    elif a == 1 and b != 1:
        print('Alice')
    elif a != 1 and b == 1:
        print('Bob')
    elif a > b:
        print('Alice')
    else:
        print('Bob')
  
        
def __starting_point():
    main()
__starting_point()

# 1枚ポーカー 1が強く2が弱い勝敗判定

A, B = map(int, input().split())

if A == 1:
    A = 14
if B == 1:
    B = 14

if A == B:
    print('Draw')
elif A > B:
    print('Alice')
else:
    print('Bob')

A, B = map(int, input().split())

if A == B:
    print('Draw')
elif A == 1:
    print('Alice')
elif B == 1:
    print('Bob')
elif A > B:
    print('Alice')
elif A < B:
    print('Bob')