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 (Python):
a,b=map(int,input().split())
if a == 1:
    a +=13
if b == 1:
    b +=13
if a>b:
    print('Alice')
elif b>a:
    print('Bob')
else:
    print('Draw')

Solution (Python):
A, B = [int(_) for _ in input().split()]
if A == B:
    print('Draw')
elif (A > B and B > 1) or A == 1:
    print('Alice')
else:
    print('Bob')

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

print(winner)

Solution (Python):
a = [2,3,4,5,6,7,8,9,10,11, 12,13, 1]

alice, bob = map(int, raw_input().split())

if a.index(alice) > a.index(bob):
	print "Alice"

elif a.index(alice) < a.index(bob):
	print "Bob"
else:
	print "Draw"

Solution (Python):
a,b = [int(x) for x in input().split()]
j = [2,3,4,5,6,7,8,9,10,11,12,13,1]
if j.index(a) > j.index(b):
  print('Alice')
elif j.index(a) < j.index(b):
  print('Bob')
else:
  print('Draw')

Solution (Python):
D=[i for i in range(2,14)]+[1]
a,b=map(int,input().split())
print(['Bob','Alice','Draw'][(D.index(a)>=D.index(b))+(D.index(a)==D.index(b))])

Solution (Python):
card = list(map(int, input().split()))

for c in range(2):
	if card[c] == 1:
		card[c] = 14
 		
if card[0] > card[1]:
	print('Alice')
	
elif card[0] < card[1]:
	print('Bob')
	
else:
	print('Draw')

Solution (Python):




"""
https://beta.atcoder.jp/contests/abc054/tasks/abc54_1
"""

import sys
import math
from inspect import currentframe

def debug(*args):
    names = {id(v):k for k,v in currentframe().f_back.f_locals.items()}
    print(', '.join(names.get(id(arg),'???')+' = '+repr(arg) for arg in args), file=sys.stderr)

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')

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

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

if B == 1:
    B = 14

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

print(result)

Solution (Python):
import sys
a,b = map(int, input().split())
ans = None
if a==b:
    print("Draw")
    sys.exit()
    
if a==1:
    print("Alice")
    sys.exit()

if b == 1:
    print("Bob")
    sys.exit()
    
print("Alice" if a > b else "Bob")

Solution (Python):
a=input().strip().split(" ")

b=[int(i) for i in a]

for i in range(2):
    if(b[i]==1):
        b[i]=int(13)
    else:
        b[i]=b[i]-1

if(b[0]>b[1]):
    print("Alice")
elif(b[0]==b[1]):
    print("Draw")
else:
    print("Bob")

Solution (Python):
import sys
import math
import collections
import itertools
import array
import inspect


sys.setrecursionlimit(1000000)



def chkprint(*args):
    names = {
        id(v): k
        for k, v in inspect.currentframe().f_back.f_locals.items()
    }
    print(', '.join(
        names.get(id(arg), '???') + ' = ' + repr(arg) for arg in args))



def to_bin(x):
    return bin(x)[2:]


def li_input():
    return [int(_) for _ in input().split()]


def gcd(n, m):
    if n % m == 0:
        return m
    else:
        return gcd(m, n % m)


def gcd_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = gcd(v, L[i])

    return v


def lcm(n, m):
    return (n * m) // gcd(n, m)


def lcm_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = lcm(v, L[i])

    return v



def wfs_d(D, N, K):
    """
    D: 隣接行列(距離付き)
    N: ノード数
    K: 始点ノード
    """

    dfk = [-1] * (N + 1)
    dfk[K] = 0

    cps = [(K, 0)]
    r = [False] * (N + 1)
    r[K] = True
    while len(cps) != 0:
        n_cps = []
        for cp, cd in cps:
            for i, dfcp in enumerate(D[cp]):
                if dfcp != -1 and not r[i]:
                    dfk[i] = cd + dfcp
                    n_cps.append((i, cd + dfcp))
                    r[i] = True

        cps = n_cps[:]

    return dfk



def dfs_d(v, pre, dist):
    """
    v:  現在のノード
    pre: １つ前のノード
    dist: 現在の距離

    以下は別途用意する
    D: 隣接リスト(行列ではない)
    D_dfs_d: dfs_d関数で用いる，始点ノードから見た距離リスト
    """

    global D
    global D_dfs_d

    D_dfs_d[v] = dist

    for next_v, d in D[v]:
        if next_v != pre:
            dfs_d(next_v, v, dist + d)

    return


def sigma(N):
    ans = 0
    for i in range(1, N + 1):
        ans += i
    return ans


def comb(n, r):
    if n - r < r: r = n - r
    if r == 0: return 1
    if r == 1: return n

    numerator = [n - r + k + 1 for k in range(r)]
    denominator = [k + 1 for k in range(r)]

    for p in range(2, r + 1):
        pivot = denominator[p - 1]
        if pivot > 1:
            offset = (n - r) % p
            for k in range(p - 1, r, p):
                numerator[k - offset] /= pivot
                denominator[k] /= pivot

    result = 1
    for k in range(r):
        if numerator[k] > 1:
            result *= int(numerator[k])

    return result

def bisearch(L, target):
    low = 0
    high = len(L) - 1
    
    while low <= high:
        mid = (low + high) // 2
        guess = L[mid]
        if guess == target:
            return True
        elif guess < target:
            low = mid + 1
        elif guess > target:
            high = mid - 1
    if guess != target:
        return False



dp = None


def main():
    A, B = li_input()

    A = A if A != 1 else 14
    B = B if B != 1 else 14

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


main()

Solution (Python):
A, B = map(int, input().split())

A = A if A != 1 else A + 13
B = B if B != 1 else B + 13

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

Solution (Python):
a = list(map(int,input().split()))
if a[0] == a[1]:
  print("Draw")
elif (a[0] == 1 or a[0] >= a[1]) and a[1] !=1:
  print("Alice")
else:
  print("Bob")

Solution (Python):
A, B = map(int, raw_input().split())
A = (A + 13) % 15
B = (B + 13) % 15
print "Alice" if A > B else "Bob" if A < B else "Draw"

Solution (Python):
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')

Solution (Python):
a,b = map(lambda x:(int(x)+11)%13,input().split())
if a > b:
    print("Alice")
elif a == b:
    print("Draw")
else:
    print("Bob")

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

Solution (Python):
power = [i for i in range(2, 13+1)] + [1]
A, B = map(lambda x: power.index(int(x)), input().split())
if A < B:
  print('Bob')
elif A == B:
  print('Draw')
else:
  print('Alice')

Solution (Python):
A, B = map(int,input().split())
L = [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1]
ind_a = L.index(A)
ind_b = L.index(B)
if ind_a > ind_b:
  print("Alice")
elif ind_a < ind_b:
  print("Bob")
else:
  print("Draw")

Solution (Python):
a, b = map(int, input().split())
a = (a + 11) % 13
b = (b + 11) % 13
if a > b:
  r = 'Alice'
elif b > a:
  r = 'Bob'
else:
  r = 'Draw'

print(r)

Solution (Python):



""" 弱 2 < 3 < ... < 13 < 1 強  """

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



def main():
    """ 勝者の出力 """
    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')
    else:
        print('Error')


if __name__ == '__main__':
    main()

Solution (Python):


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')

Solution (Python):
a = list(map(int,input().split(" ")))
if a[0] == 1 and a[1] == 1:
  print("Draw")
elif a[0] == 1:
  print("Alice")
elif a[1] == 1:
  print("Bob")
else:
  if a[0] > a[1]:
    print("Alice")
  elif a[0] == a[1]:
    print("Draw")
  else:
    print("Bob")

Solution (Python):
data = input().split()
A = int(data[0])
B = int(data[1])
if A == B:
	print('Draw')
elif A == 1:
	print('Alice')
elif B == 1:
	print('Bob')
elif A > B:
	print('Alice')
else:
	print('Bob')

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

Solution (Python):
A, B = list(map(int, input().split()))
if A == B:
    ans = 'Draw'
elif A == 1:
    ans = 'Alice'
elif B == 1:
    ans = 'Bob'
else:
    ans = 'Alice' if A > B else 'Bob'

print(ans)

Solution (Python):

a,b=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")

Solution (Python):
A, B = map(int,input().split())

ord = [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1]
if ord.index(A) > ord.index(B):
    print('Alice')
elif ord.index(A) < ord.index(B):
    print('Bob')
else:
    print('Draw')

Solution (Python):
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')

Solution (Python):
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")

Solution (Python):
dic = {'2':1, '3':2, '4':3, '5':4, '6':5, '7':6, '8':7, '9':8, '10':9, '11':10, '12':11, '13':12, '1':14}
a,b = map(str,input().split())

if dic[a] > dic[b]:
    print('Alice')
elif dic[a] == dic[b]:
    print('Draw')
else:
    print('Bob')

Solution (Python):
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')

Solution (Python):
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('Draw')
else:
    print('Bob')

Solution (Python):
a,b= map(int,input().split())

if a == 1:
  a = 15
if b == 1:
  b = 15

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

Solution (Python):
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('Draw')
else:
    print('Bob')

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

Solution (Python):
a,b = map(int,input().split())

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

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

Solution (Python):
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")

Solution (Python):
a, b = map(int, input().split())

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

Solution (Python):
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("Draw")
else:
  print("Bob")

Solution (Python):
a,b = map(int,input().split())

a_pw = (a+11) % 13
b_pw = (b+11) % 13

if   a_pw == b_pw:
    print('Draw')
elif a_pw > b_pw:
    print('Alice')
elif a_pw < b_pw:
    print('Bob')

Solution (Python):
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")

Solution (Python):
a, b = map(int,input().split())
a, b = a+13*(a<2),b+13*(b<2)
if a>b:
  print("Alice")
elif a<b:
  print("Bob")
else:
  print("Draw")

Solution (Python):

A, B = [int("14" if x == "1" else x) for x in input().split()]
print("Alice" if A > B else "Bob" if B > A else "Draw")

Solution (Python):

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

if A == 1 and B == 1:
    A = 14
    B = 14
elif A == 1:
    A = 14
elif B == 1:
    B = 14

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

Solution (Python):
a,b = map(int,input().split())

if   (a+11)%13 > (b+11)%13:
    print("Alice")
elif (b+11)%13 > (a+11)%13:
    print("Bob")
else:
    print("Draw")

Solution (Python):
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")

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

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

Solution (Python):
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")

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

Solution (Python):
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")

Solution (Python):
a, b = input().split()
a, b = int(a), int(b)
if a == 1:
  a += 13
if b == 1:
  b += 13
print("Alice" if a > b else "Draw" if a == b else "Bob")

Solution (Python):
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


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


if __name__ == '__main__':
    main()

Solution (Python):
a,b=map(int,input().split());print(['Draw',['Bob','Alice'][(a-2)%13>(b-2)%13]][a!=b])

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

Solution (Python):
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')

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

Solution (Python):
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')

Solution (Python):
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")

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

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

Solution (Python):
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('Draw')
else:
    print('Bob')

Solution (Python):

from __future__ import unicode_literals
from __future__ import print_function
import sys
import string

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

def main():
    lines = map(lambda x: [int(i) for i in string.split(x)],
        sys.stdin.readlines())

    alices_card, bobs_card = lines[0]        
    alice_score = card_strength.index(alices_card)
    bob_score = card_strength.index(bobs_card)

    if(alice_score > bob_score):
        print("Alice")
    elif(alice_score < bob_score):
        print("Bob")
    else:
        print("Draw")

    

if __name__ == '__main__':
    main()

Solution (Python):
a, b = (int(i) for i in input().split())
if a > b:
    if b == 1:
        print('Bob')
        exit()
    print('Alice')
elif a < b:
    if a == 1:
        print('Alice')
        exit()
    print('Bob')
else:
    print('Draw')

Solution (Python):
A,B=input().split()
poker=['2','3','4','5','6','7','8','9','10','11','12','13','1']
if poker.index(A)<poker.index(B):
    print('Bob')
elif poker.index(A)>poker.index(B):
    print('Alice')
else:
    print('Draw')

Solution (Python):
x,y=map(int,input().split())
if x==y:
    print("Draw")
elif x==1 and y!=1:
    print("Alice")
elif x!=1 and y==1:
    print("Bob")
else:
    if x>y:
        print("Alice")
    else:
        print("Bob")

Solution (Python):
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')

Solution (Python):
a,b=map(int,input().split())
c=(a+11)%13;d=(b+11)%13
if c>d:print("Alice")
elif c<d:print("Bob")
else:print("Draw")

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

Solution (Python):
a,b=map(int,input().split())
if a==1:a+=13
if b==1:b+=13

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

Solution (Python):
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("Draw")
else:
  print("Bob")

Solution (Python):

def main():
    cards = [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1]
    A, B = map(int, input().split())
    if cards.index(A) > cards.index(B):
        print('Alice')
    elif cards.index(A) < cards.index(B):
        print('Bob')
    else:
        print('Draw')

if __name__ == '__main__':
    main()

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

Solution (Python):
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')
else:
  print('Bob')

Solution (Python):
a,b = (int(_) for _ in input().split())

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

Solution (Python):
A, B = (int(i) for i in input().split())
if A == B:
    print('Draw')
elif B == 1:
    print('Bob')
elif A == 1:
    print('Alice')
elif A > B:
    print('Alice')
else:
    print('Bob')

Solution (Python):
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")

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

Solution (Python):
n = list(map(int, input().split())) 
if(n[0] == n[1]):
    print("Draw")
elif(n[0] == 1):
    print("Alice")
elif(n[1] == 1):
    print("Bob")
elif(n[0] > n[1]):
    print("Alice")
else:
    print("Bob")

Solution (Python):
a, b = map(int, input().split())

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

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

Solution (Python):
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')

Solution (Python):
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")

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

Solution (Python):

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')

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

Solution (Python):
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")

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

Solution (Python):


def main():
    a, b = map(int, input().split())

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

    if trump.index(a) > trump.index(b):
        print('Alice')
    elif trump.index(a) < trump.index(b):
        print('Bob')
    else:
        print('Draw')
        
if __name__ == '__main__':
    main()

Solution (Python):
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')

Solution (Python):
a, b = map(int, input().split())
if a == 1:
    a += 13
if b == 1:
    b += 13

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

Solution (Python):
alice, bob = map(int, input().split())
if alice == bob:
  print("Draw")
elif alice == 1:
  print("Alice")
elif bob == 1 or bob > alice:
  print("Bob")
else:
  print("Alice")

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

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

Solution (Python):
def aaa(s):
    if s == '1':
        return 14
    else:
        return int(s)

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

Solution (Python):
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')
else:
    print('Alice')

Solution (Python):
a, b = map(int, input().split(" "))

a, b = [14 if 1==ab_i else ab_i for ab_i in (a, b)]
if a>b:
    print("Alice")
elif a<b:
    print("Bob")
else:
    print("Draw")

Solution (Python):
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')

Solution (Python):
l=[i for i in range(2,14)]
l.append(1)
a,b=map(int,input().split())
c=l.index(a)
d=l.index(b)
if c>d:
  print('Alice')
elif c<d:
  print('Bob')
else:
  print('Draw')

Solution (Python):
alice,bob = map(int,input().split())

if alice == 1:
    alice = 14
if bob == 1:
    bob = 14
if alice > bob:
    print("Alice")
if alice < bob:
    print("Bob")
if alice == bob:
    print("Draw")

Solution (Python):
a, b = map(int, input().split())
if a == b:
    ans = 'Draw'
elif (a == 1) or ((b != 1) and (a > b)):
    ans = 'Alice'
else:
    ans = 'Bob'

print(ans)

Solution (Python):


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

a = (a - 2 + 13) % 13
b = (b - 2 + 13) % 13

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

Solution (Python):
a,b=map(int,input().split())

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

Solution (Python):
a, b = map(int, raw_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")

Solution (Python):

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

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

Solution (Python):

n=[int(i) for i in input().split()]
if(n[0]==1):
  n[0]+=13
if(n[1]==1):
  n[1]+=13
if(n[0]==n[1]):
  print("Draw")
elif(n[0]<n[1]):
  print("Bob")
else:
  print("Alice")

Solution (Python):
l = [(int(x)+11)%13 for x in raw_input().split()]
if l[0] == l[1]:
	print "Draw"
elif l[0] > l[1]:
	print "Alice"
else:
	print "Bob"

Solution (Python):
a,b=map(lambda x:(int(x)+12)%14,input().split())
if a>b:
  print("Alice")
elif a<b:
  print("Bob")
else:
  print("Draw")

Solution (Python):
A, B = (int(i) for i in input().split())

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

a = card.index(A)
b = card.index(B)

if a > b:
    Ans = 'Alice'
elif b > a:
    Ans = 'Bob'
else:
    Ans = 'Draw'

print(Ans)

Solution (Python):
def main():
    x = input()
    l = x.split(" ")
    A = int(l[0])
    B = int(l[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")

if __name__ == '__main__':
    main()

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

Solution (Python):
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")

Solution (Python):


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

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

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

Solution (Python):
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")

Solution (Python):
a,b = map(str,input().split())
dic = {"2":1,"3":2,"4":3,"5":4,"6":5,"7":6,"8":7,"9":8,"10":9,"11":10,"12":11,"13":12,"1":13}

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

Solution (Python):


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("Draw")
elif A < B:
    print("Bob")

Solution (Python):
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')
else:
    print('Alice')

Solution (Python):

def one(x):
    if x == 1:
        return 14
    else:
        return x

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

Solution (Python):

def one(x):
    if x == 1:
        ret = 14
        return ret
    else:
        ret = x
        return ret

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

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

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

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

Solution (Python):
[a,b]=[int(i) for i 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")

Solution (Python):
a,b=map(int,raw_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'

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

Solution (Python):
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")

Solution (Python):
A,B = (int(i) for i in input().split())

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

Solution (Python):
a, b = [(int(i)+12)%14 for i in input().split()]
ans = ""
if a > b:
  ans = "Alice"
elif a < b:
  ans = "Bob"
else:
  ans = "Draw"
print(ans)