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):
def main():
    a, b = [int(x) for x in input().split()]
    a = 14 if a == 1 else a
    b = 14 if b == 1 else b
    if a > b:
        print("Alice")
    elif b > a:
        print("Bob")
    else:
        print("Draw")


if __name__ == "__main__":
    main()

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


if __name__ == "__main__":
    main()

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

if a < b:
    win = "Bob"
elif b < a:
    win = "Alice"
if a == 1 or b == 1:
    if a < b:
        win = "Alice"
    elif b < a:
        win = "Bob"
if a == b:
    win = "Draw"

print(win)

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

Solution (Python):
num = list(map(int,raw_input().split()))
for i in range (2):
    if num[i] == 1:
        num[i] = 14
if num[0] > num[1]:
    print "Alice"
elif num[0] < num[1]:
    print "Bob"
else:
    print "Draw"

Solution (Python):


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


A += 11
B += 11
if(A%13>B%13): 
    print('Alice')
elif(A%13<B%13):
    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('Draw')
elif a > b:
	print('Alice')
else:
	print('Bob')

Solution (Python):

import sys



def main():
    
    
    A, B = map(int, input().split())

    
    strength = lambda x: (x - 2) % 13
    if strength(A) > strength(B):
        winner = "Alice"
    elif strength(A) < strength(B):
        winner = "Bob"
    else:
        winner = "Draw"

    
    print(winner)


if __name__ == '__main__':
    main()

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

if __name__ == '__main__':
    main()

Solution (Python):

if __name__ == '__main__':
  l = list([-1,100])
  for i in range(2,14):
    l.append(i)
  
  
  s = str(input()).split(" ")
  a = int(s[0])
  b = int(s[1])
  if l[a] > l[b]:
    print("Alice")
  elif l[a] < l[b]:
    print("Bob")
  else:
    print("Draw")

Solution (Python):
cards = input().split()
alice = int(cards[0])
bob = int(cards[1])

if alice == bob:
    print("Draw")
elif alice == 1:
    print("Alice")
elif bob == 1:
    print("Bob")
elif alice < bob:
    print("Bob")
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]

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

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

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):
def main():
 x = map(int, raw_input().split())
 if 2 <= x[0] <= 13 and  2 <= x[1] <= 13:
    if(x[0] > x[1]):
        return "Alice"
    elif(x[0] < x[1]):
        return "Bob"
    else:
        return "Draw"
 elif x[0] == 1 and  2 <= x[1] <= 13:
    return "Alice"
 elif x[1] == 1 and  2 <= x[0] <= 13:
    return "Bob"
 else:
    return "Draw"
print main()

Solution (Python):
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('Alice')
elif B>A:
    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):


numbers=input().rstrip().split(" ")

if int(numbers[0])==1:
    numbers[0]=14

if int(numbers[1])==1:
    numbers[1]=14
    
if int(numbers[0])>int(numbers[1]):
    print("Alice")

elif int(numbers[0])<int(numbers[1]):
    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 B>A:
    print('Bob')

Solution (Python):
t = list(str(input()).split(" "))
a = int(t[0])
b = int(t[1])

if(a < b):
    if(a == 1): print("Alice")
    else: print("Bob")
elif(b < a):
    if(b == 1): print("Bob")
    else: 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('Bob')
else:
    print('Draw')

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


if A == 1 or B == 1:
    if A == B:
        print("Draw")
        exit()
    elif A == 1 and A < B:
        print("Alice")
        exit()
    elif B == 1 and B < A:
        print("Bob")
        exit()

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

Solution (Python):
alice, bob = [int(x) for x in raw_input().split()]
if alice == 1: alice = 14
if bob == 1: bob = 14
if alice < bob:
   print 'Bob'
elif alice > bob:
   print 'Alice'
else:
   print 'Draw'

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

Solution (Python):
A, B = map(int, input().split())
L = [e for e in range(2, 14)]
L += [1]
a = L.index(A)
b = L.index(B)
if a < b:
    print("Bob")
elif a > b:
    print("Alice")
else:
    print("Draw")

Solution (Python):
arr=['2','3','4','5','6','7','8','9','10','11','12','13','1']
dic={}
for i,v in enumerate(arr):
	dic[v]=i
a,b = input().split()
if dic[a]>dic[b]:
	print("Alice")
elif dic[a]<dic[b]:
	print("Bob")
else:
	print("Draw")

Solution (Python):

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

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

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

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

if b < a:
    print 'Alice'
elif a < b:
    print 'Bob'
elif a == b:
    print 'Draw'

Solution (Python):
a,b = map(int, raw_input().split())
ap = (a+11)%13
bp = (b+11)%13
if ap > bp:
  print "Alice"
elif ap < bp:
  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):
a, b = map(int, raw_input().strip().split(" "))
a, b = map(lambda x: (x + 11) % 13, (a, b))
if a > b:
	print "Alice"
elif a == b:
	print "Draw"
else:
	print "Bob"

Solution (Python):



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

Solution (Python):
Alice,Bob = input().split()
Alice = int(Alice) if Alice != "1" else 14
Bob = int(Bob) if Bob != "1" else 14

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

Solution (Python):
def getRank(n):
    nums = [2,3,4,5,6,7,8,9,10,11,12,13,1]
    rank = 99
    for i in range(13):
        if n == nums[i]:
            rank = i
            break
    return rank



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

Solution (Python):


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

def compare(a, b):
	if a == b:
		return 0 
	elif a == 1:
		return 1 
	elif b == 1:
		return -1 
	elif a > b:
		return 1 
	else:
		return -1 

cmp = compare(a, b)
if cmp == 0:
	print("Draw")
elif cmp == 1:
	print("Alice")
else:
	print("Bob")

Solution (Python):
values = [int(i) for i in input().split()]
a = values[0] if values[0] != 1 else 14
b = values[1] if values[1] != 1 else 14
if a == b:
    print("Draw")
elif a > b:
    print("Alice")
elif a < b:
    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")
elif A == B:
    print("Draw")

Solution (Python):
a, b=input().split()
a, b=int(a), int(b)
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 = [int(i) for i in 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')

Solution (Python):
import sys
[Alice, Bob] = sys.stdin.readline().split()
if Alice == Bob:
	print('Draw')
	sys.exit()
if Alice == '1':
	print('Alice')
	sys.exit()
if Bob == '1':
	print('Bob')
	sys.exit()
if int(Alice) < int(Bob):
	print('Bob')
else:
	print('Alice')

Solution (Python):
a, b = map(int, raw_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):
lis=input().split()
a=int(lis[0])
b=int(lis[1])
if a==1:
    if b==1:
        print("Draw")
    else :
        print("Alice")
elif b==1:
    print("Bob")
else :
    if a>b:
        print("Alice")
    elif a==b:
        print("Draw")
    else :
        print("Bob")

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

if a[0] == 1 :
    a[0] = 14
if a[1] == 1 :
    a[1] = 14

if a[0] == a[1] :
    print 'Draw'
elif a[0] > a[1] :
    print 'Alice'
else :
    print 'Bob'

Solution (Python):
A, B = [int(i) for i in 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=[i for i in range(2,15)]
b,c=map(int,input().split())
print('Draw' if c==b else('Alice' if a[b-2]>a[c-2]else'Bob'))

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

Solution (Python):
a_str, b_str = input().split()

a = int(a_str)
b = int(b_str)


def change(i):
    if i == 1:
        return 14
    else:
        return i


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

Solution (Python):


A,B = [int(x) for x in raw_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):
def to_fourteen(x):
    return 14 if x == "1" else int(x)

alice, bob = map(to_fourteen, input().split())
if alice == bob:
    print("Draw")
else:
    print("Alice" if alice > bob else "Bob")

Solution (Python):


A = raw_input()
B = A.split()
C, D = int(B[0]), int(B[1])

if C == 1:
  if D == 1:
    print 'Draw'
  else:
    print 'Alice'
else:
  if D == 1:
    print 'Bob'
  else:
    if C > D:
      print 'Alice'
    elif C < D:
      print 'Bob'
    else:
      print 'Draw'

Solution (Python):


A = raw_input()
B = A.split( )
C, D = int(B[0]), int(B[1])

if C == 1:
  if D == 1:
    print 'Draw'
  else:
    print 'Alice'
else:
  if D == 1:
    print 'Bob'
  else:
    if C > D:
      print 'Alice'
    elif C < D:
      print 'Bob'
    else:
      print 'Draw'

Solution (Python):


def bigThan(a, b):
    if a == 1 and b == 1:
        return False
    elif a == 1 and b != 1:
        return True
    elif a != 1 and b == 1:
        return False
    else:
        return a > b


def judge(a, b):

    if a == b:
        return "Draw"
    elif bigThan(a, b):
        return "Alice"
    else:
        return "Bob"


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

j = judge(a, b)
print(j)

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):
cards = list(map(int, input().split()))
a = cards[0]
b = cards[1]

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

Solution (Python):
AB=input().split(" ")
A=int(AB[0])
B=int(AB[1])

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

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

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

Solution (Python):
input = input().split()
A,B=int(input[0]),int(input[1])
 
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 == 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, raw_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().rstrip().split())
if A != 1 and B != 1:
  if A > B:
    print("Alice")
  elif A < B:
    print("Bob")
  else:
    print("Draw")
else:
  if A < B:
    print("Alice")
  elif A > B:
    print("Bob")
  else:
    print("Draw")

Solution (Python):
c=list(range(2,14))
c.append(1)
a,b=map(int,input().split())
if a==b: print("Draw")
else: print("Alice" if c.index(a) > c.index(b) else "Bob")

Solution (Python):

data = map(int, raw_input().split())

if data[0] == data[1]:
    print "Draw"
elif (data[1] != 1 and data[0] > data[1]) or data[0] == 1:
    print "Alice"
else:
    print "Bob"

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("Draw")
elif a>b:
    print("Alice")
else:
    print("Bob")

Solution (Python):


numbers = raw_input().split()

A = int(numbers[0])
B = int(numbers[1])

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"

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

Solution (Python):


a,b=map(int,raw_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):
from collections import defaultdict


def main():
    A, B = map(int, input().split())
    d = {1: 14}

    if d.get(A, A) == d.get(B, B):
        print("Draw")
    elif d.get(A, A) > d.get(B, B):
        print("Alice")
    else:
        print("Bob")


if __name__ == '__main__':
    main()

Solution (Python):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time

sys.setrecursionlimit(10**7)
inf = 10**20
mod = 10**9 + 7

def LI(): return list(map(int, input().split()))
def II(): return int(input())
def LS(): return input().split()
def S(): return input()


def main():
    a,b = LI()
    if a == b:
        return 'Draw'
    if a==13 and b==1:
        return 'Bob'
    if a==1 and b==13:
        return 'Alice'
    if a > b:
        return 'Alice'

    return 'Bob'

print(main())

Solution (Python):

A, B=map(int,input().split())
if A==1:
    if B==1:
        print("Draw")
    else:
        print("Alice")
elif B==1:
    print("Bob")
else:
    if A>B:
        print("Alice")
    elif B>A:
        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):


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

print ans

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

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

Solution (Python):
import sys
import io
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
 
a, b = map(int, input().split())
if a==1:a=100
if b==1:b=100
[print("Alice") if a>b else print("Bob") if a<b else print("Draw")]

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

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

def f(A, B):
    i = strength.index(A)
    j = strength.index(B)
    if i > j:
        return 'Alice'
    if i < j:
        return 'Bob'
    return 'Draw'

A, B = input().split()
A = int(A)
B = int(B)
print(f(A, B))

Solution (Python):
def f(A, B):
    if A == 1 and B == 1:
        return 'Draw'
    if A == 1:
        return 'Alice'
    if B == 1:
        return 'Bob'
    
    if A > B:
        return 'Alice'
    if A < B:
        return 'Bob'
    return 'Draw'

A, B = input().split()
A = int(A)
B = int(B)
print(f(A, B))

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

Solution (Python):
import sys

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

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

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

Solution (Python):

a,b = map(int,raw_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 = 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 ("Bob")
else:
    print ("Draw")

Solution (Python):
def read():
    return int(input())

def reads(sep=None):
    return list(map(int, input().split(sep)))

def main():
    a, b = reads()
    if a == 1:
        a = 14
    if b == 1:
        b = 14

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

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=map(int,raw_input().split())
if a==1:
	a=14
if b==1:
	b=14
 
def val():

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

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

if a==b:
	print "Draw"
else:
	if a!=1 and b!=1:
		if a<b:
			print "Bob"
		else:
			print "Alice"
	elif a==1 and b!=1:
		print "Alice"
	else:
		print "Bob"

Solution (Python):
def solve(alice, bob):
    if alice == bob: return "Draw"
    return "Alice" if alice > bob else "Bob" 

if __name__ == '__main__':
    alice, bob = [14 if token == '1' else int(token) for token in input().split()]
    ans = solve(alice, bob)
    print(ans)

Solution (Python):

A,B = [int(i) for i in input().split(" ")]
if A == B:
    print("Draw")
elif (A == 1) or (A>B and B!=1):
    print("Alice")
else:
    print("Bob")

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

Solution (Python):
import sys
a, b = map(int, sys.stdin.readline().split())
a = (a + 13) % 15
b = (b + 13) % 15 
if a > b:
  print 'Alice'
elif b > a:
  print 'Bob'
else:
  print 'Draw'

Solution (Python):
def get_strength(x):
    if x == 1:
        strength = 13
    else:
        strength = x - 1

    return strength


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

Sa = get_strength(A)
Sb = get_strength(B)

if Sa == Sb:
    message = "Draw"
elif Sa > Sb:
    message = "Alice"
else:
    message = "Bob"

print(message)

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

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

Solution (Python):



from fractions import gcd

def readln():
    _res = list(map(int,str(input()).split(' ')))
    return _res

def strong(x,y):
    if y == 1 : return False
    return (x == 1) or (x > y)

a = readln()
if a[0] == a[1]:
    print("Draw")
elif strong(a[0],a[1]):
    print("Alice")
else:
    print("Bob")

Solution (Python):

"""
Spyderエディタ

これは一時的なスクリプトファイルです
"""
alice = input().split()
alice[0] = int(alice[0])
alice[1] = int(alice[1])
if(alice[0] == alice[1]):
    print("Draw")
elif(alice[0] == 1):
    print("Alice")
elif(alice[1] == 1):
    print("Bob")
elif(alice[0] < alice[1]):
    print("Bob")
elif(alice[0] > alice[1]):
    print("Alice")

Solution (Python):
import sys
 
for line in sys.stdin:
    card = line.split(" ")
    alice = int(card[0])
    bob = int(card[1])
    if alice == 1:
        alice += 13
    if bob == 1:
        bob += 13
        
    if alice > bob:
        print("Alice")
    elif alice < bob:
        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):
def Main():
  a, b = map(int, input().split())
  if a > 1 and b > 1:
    if a < b:
      print("Bob")
    elif a > b:
      print("Alice")
    elif a == b:
      print('Draw')

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


if __name__ == '__main__':
  Main()

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

Solution (Python):
A , B = [int(n) for n in 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:
    a+=13
if b==1:
    b+=13
if a==b:
    print('Draw')
elif a>b:
    print('Alice')
else:
    print('Bob')

Solution (Python):
from sys import exit, setrecursionlimit
from functools import reduce
from itertools import *
from collections import defaultdict
from bisect import bisect

def read():
  return int(input())

def reads():
  return [int(x) for x in input().split()]

setrecursionlimit(1000000)

(a, b) = reads()

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 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):
A,B = map(int, input().split())

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

Solution (Python):
table = {'2': 0,
         '3': 1,
         '4': 2,
         '5': 3,
         '6': 4,
         '7': 5,
         '8': 6,
         '9': 7,
         '10': 8,
         '11': 9,
         '12': 10,
         '13': 11,
         '1': 12, }
ary = [table[i] for i in input().strip().split()]
if (ary[1] - ary[0]) > 0:
    print('Bob')
elif ary[1] == ary[0]:
    print('Draw')
else:
    print('Alice')

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

Solution (Python):
A, B = map(int, raw_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('Draw')
elif A > B:
    print('Alice')
elif B > A:
    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):
import numpy as np

N = raw_input().split(" ")
N = map(int,N)

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

a = ref.index(N[0])
b = ref.index(N[1])

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

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

Solution (Python):
a, b = map(int, raw_input().split())
if a == b:
    print 'Draw'
else:
    print 'Bob' if (a - 1 or 13) < (b - 1 or 13) else 'Alice'

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

def v():
    if A == 1:
        if B != 1:
            return 'Alice'
        else:
            return 'Draw'
    if B == 1:
        if A != 1:
            return 'Bob'
        else:
            return 'Draw'
    if A > B:
        return 'Alice'
    if B > A:
        return 'Bob'
    return 'Draw'

print(v())

Solution (Python):
c = input().split()
a = int(c[0])
b = int(c[1])
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 = (int(a) + 11) % 13
b = (int(b) + 11) % 13

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

Solution (Python):

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

Solution (Python):
input_line1 = input()
str_list = input_line1.split(" ")

Alice = int(str_list[0])
Bob = int(str_list[1])

if Alice == 1:
    Alice = 15
if Bob == 1:
    Bob = 15
    
if Alice > Bob:
    print("Alice")
if Bob > Alice:
    print("Bob")
if Alice == Bob:
    print("Draw")

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

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

    if a == b:
        return 'Draw'

    if a == 1:
        return 'Alice'
    if b == 1:
        return 'Bob'

    return 'Alice' if a>b else 'Bob'

if __name__ == '__main__':
    print(main())

Solution (Python):
def f(a, b):
    if a == b:
        return 'Draw'
    if a > b:
        return 'Alice'
    if a < b:
        return 'Bob'

a, b = map(int, input().split())
if a == 1:
    a += 100
if b == 1:
    b += 100
print(f(a, b))

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

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

Solution (Python):

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

ans = 'Draw'
if a_idx < b_idx:
    ans = 'Bob'
elif a_idx > b_idx:
    ans = 'Alice'
print(ans)

Solution (Python):


Alice, Bob = map(int, input().split())
if Alice == 1:
    Alice = 14
if Bob == 1:
    Bob = 14

if Alice > Bob:
    print('Alice')
elif Bob > Alice:
    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):
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 = map(int, raw_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'

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

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 "Draw"
else:
    print "Bob"

Solution (Python):
import sys
A,B=map(int,raw_input().split())

if A== B:
    print "Draw"
elif A==1:
    print "Alice"
elif B==1:
    print "Bob"
elif B>A:
    print "Bob"
elif B<A:
    print "Alice"
elif A==B:
    print "Draw"

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