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



Sample input:
8 6


Sample output:
Alice

Submission status: Accepted

Solution code:
def examA():
    A, B = LI()
    if A==B:
        ans = "Draw"
    elif (A>B and B!=1) or (A==1):
        ans = "Alice"
    else:
        ans ="Bob"
    print(ans)

import sys
import copy
from collections import Counter,defaultdict,deque
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def S(): return sys.stdin.readline().strip()
mod = 10**9 + 7
inf = float('inf')

examA()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
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 a==b:print('Draw')
  else:print('Bob')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#One Card Poker
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')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A - One Card Poker
a, b = [int(s) for s in input().split()]

a = 14 if a == 1 else a
b = 14 if b == 1 else b

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

Submission status: Accepted

Solution code:
a,b=map(lambda x:(int(x)+11)%13,input().split())
if a>b:
    ans='Alice'
elif a<b:
    ans='Bob'
elif a==b:
    ans='Draw'
print(ans)

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
def plus(n):
    if n == 1:
        return 15
    else:
        return n+1
    
a = plus(a)
b = plus(b)

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
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')

Submission status: Accepted

Solution code:
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('Alice')
  elif A<B:
    print('Bob')
  else:
    print('Draw')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = map(int,input().split())
L = [2,3,4,5,6,7,8,9,10,11,12,13,1]

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a, b = [int(x) for x in input().split()]

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

print(winner)

Submission status: Accepted

Solution code:
A, B = map(int, input().split())
C = [2,3,4,5,6,7,8,9,10,11,12,13,1]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = list(map(int, input().split()))
for i in range(2):
    if a[i] == 1:
        a[i] = 14
if a[0] > a[1]:
    print('Alice')
if a[0] < a[1]:
    print('Bob')
if a[0] == a[1]:
    print('Draw')

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A,B = map(int,input().split())
tmp = [A,B]
ans = ["Alice","Bob"]
if tmp[0] == tmp[1]:
    print("Draw")
elif tmp[0] == 1:
    print(ans[0])
elif tmp[1] == 1:
    print(ans[1])
elif tmp[0] > tmp[1]:
    print(ans[0])
else:
    print(ans[1])

Submission status: Accepted

Solution code:
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('Bob')
elif a > b:
    print('Alice')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
if a == b == 1:
  a = b = 14
elif a == 1:
  a = 14
elif b == 1:
  b = 14

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

Submission status: Accepted

Solution code:
a,b= (int(x) for x in input().split())
if a>b:
  s="Alice"
else:
  s="Bob"
if a==1:
  s="Alice"
elif b==1:
  s="Bob"
if a==b:
  s="Draw"
print(s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=map(lambda x: int(x), 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')

Submission status: Accepted

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

Submission status: Accepted

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

A, B = map(int, input().split())
alice = -1
bob = -1
for i in range(13):
    if card[i] == A:
        alice = i
    if card[i] == B:
        bob = i

if alice > bob:
    print('Alice')
elif bob > alice:
    print('Bob')
else:
    print('Draw')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if a == b:
    ans = "Draw"
elif a == 1:
    ans = "Alice"
elif b == 1:
    ans = "Bob"
elif a > b:
    ans = "Alice"
else:
    ans = "Bob"

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b = map(int,input().split(" "))
a += 11
a %= 13

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

Submission status: Accepted

Solution code:
A, B = 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")

Submission status: Accepted

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

l = [
    [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
    [0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    [0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0],
    [0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0],
    [0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0],
    [0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0],
    [0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0],
    [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0],
    [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0],
    [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0],
    [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0]
]

if A == B:
    print("Draw")
elif l[A][B]:
    print("Alice")
else:
    print("Bob")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = list(map(int,input().split()))
A = a[0]
B = a[1]
if A == 1:
    A = 14
if B == 1:
    B = 14

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#2019/10/10
A, B = map(int, open(0).read().split())
if A==1 and B!=1:
    print("Alice")
elif A!=1 and B==1:
    print("Bob")
elif A==1 and B==1:
    print("Draw")
else:
    print("Alice" if A>B else "Bob" if B>A else "Draw")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

A = (A+11) % 13
B = (B+11) % 13

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
A,B=map(int,input().split())
if A==B:
    print('Draw')
else:
    if A==1 or A>B and B!=1:
        print('Alice')
    else:
        print('Bob')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
I = [int(n) for n in input().split()]
A, B = list(map(lambda n: 14 if n == 1 else n, I))
print('Draw' if A == B else 'Alice' if A > B else 'Bob')

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

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

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if a == b:
  print('Draw')
  exit()
  
if a == 1:
    print('Alice')
    exit()

if b == 1:
  print('Bob')
  exit()

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

Submission status: Accepted

Solution code:
A, B = tuple(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("Bob")
        elif A > B:
            print("Alice")
        else:
            print("Draw")

Submission status: Accepted

Solution code:
def slove():
    import sys
    input = sys.stdin.readline
    a, b = list(map(int, input().rstrip('\n').split()))
    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")


if __name__ == '__main__':
    slove()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=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')

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = input().split()
A=int(A)
B=int(B)
if A==1or B==1 :
  if A!=B:
    print("Alice" if A==1 else("Bob"))
  else:
    print("Draw")
else:
  if A!=B:
    print("Alice" if A-B>0 else("Bob"))
  else:
    print("Draw")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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



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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

int(a)
int(b)

if a == b:
    print("Draw")
else:
    if 1 in [a, b]:
        if a == 13:
            print("Bob")
        else:
            print("Alice")
    else:
        if (b-a) > 0:
            print("Bob")
        else:
            print("Alice")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
def do():
    A,B = INTM()
    if A==B:
        print('Draw')
    elif A==1:
        print('Alice')
    elif B==1:
        print('Bob')
    elif A>B:
        print('Alice')
    else:
        print('Bob')
if __name__ == '__main__':
    do()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = map(int,input().split())
cnv = lambda x: x+13 if x == 1 else x
print('Alice' if cnv(A)>cnv(B) else 'Draw' if A==B else 'Bob')

Submission status: Accepted

Solution code:
#coding:utf-8

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

#1は13より強いので、比較のために14に置き換え
if a == 1:
  a = 14

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = [int(s) for s in 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")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
a1 = a+13*(a==1)
b1 = b+13*(b==1)
print("Alice" if a1>b1 else "Bob" if b1>a1 else "Draw")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if a==1:
    a = 14
if b==1:
    b = 14
if a-b>0:
    print("Alice")
if a-b==0:
    print("Draw")
if a-b<0:
    print("Bob")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def resolve():
    a, b = map(int, input().split())
    if a == 1:
        a *= 100
    if b == 1:
        b *= 100
    if a < b:
        print("Bob")
    elif a > b:
        print("Alice")
    else:
        print("Draw")


if __name__ == "__main__":
    resolve()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

ans = "Draw"
if A > B:
    ans = "Alice"
if A < B:
    ans = "Bob"

print(ans)

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
aa = (a-2) % 100
bb = (b-2) % 100

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

Submission status: Accepted

Solution code:
#ABC054A
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")

Submission status: Accepted

Solution code:
s=list(input().split())
a=int(s[0])
b=int(s[1])
if a==1:
  if b==1:
    print('Draw')
  else:
    print('Alice')
elif b==1:
  if a!=1:
    print('Bob')
else:
  if a-b>0:
    print('Alice')
  elif a-b<0:
    print('Bob')
  else:
    print('Draw')

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
a=14 if a==1 else a
b=14 if b==1 else b

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

def main():
    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")


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

if A == 1:
    print ('Alice')
    exit()
if B == 1:
    print ('Bob')
    exit()
if A < B:
    print ('Bob')
    exit()
if B < A:
    print ('Alice')