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

Submission status: Accepted

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

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

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==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(str, input().split())

if a == b:
    print('Draw')
elif int(a)==1:
    print('Alice')
elif int(b)==1:
    print('Bob')
elif int(a) < int(b):
    print('Bob')
elif int(a) > int(b):
    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('Alice')
elif A < B:
  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 = 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:
num = input().split()
num_i = [int(s) for s in num]

if(num_i[0] == num_i[1]):
    print('Draw')
    
elif(num_i[0] != 1 and num_i[1] != 1):
    if(num_i[0] > num_i[1]):
        print('Alice')
    else:
        print('Bob')

else:
    if(num_i[0] == 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:
  if a==14 and b==14:
    a=1
    b=1
  print("Draw")
elif a>b:
  if a==14:
    a=1
  print("Alice")
elif a<b:
  if b==14:
    b=1
  print("Bob")

Submission status: Accepted

Solution code:

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
cardArray = list(map(int,input().split()))

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

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if a != 1 and b == 1:
  print('Bob')
elif a == 1 and b != 1:
  print('Alice')
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 == 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 = (int(i) for i in input().split())

if a == b: 
  print('Draw')
  exit()
if b-a > 0:
  if a != 1:
    print('Bob')
  else:
    print('Alice')
else:
  if b == 1:
    print('Bob')
  else:
    print('Alice')

Submission status: Accepted

Solution code:
A, B = [int(s) for s in 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 == 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:
  print('Draw')
elif (a<b and a!=1) or 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 or a>b and b!=1:
    print("Alice")
else:
    print("Bob")

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
A, B = [int(x) for x 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")

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

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())
i=list(range(2,14))
i.append(1)
ai,bi=i.index(a),i.index(b)
print("Draw" if ai==bi else "Alice" if ai>bi else "Bob")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import queue
import bisect
import heapq
import time
import itertools

mod = int(1e9+7)

def swap(a,b):
    return (b,a)

def gcd(a,b): #最大公約数
    if (a<b):
        a,b = swap(a,b)
    if (b==0):
        return a
    else:
        return gcd(b,a%b)

def lcm(a,b): #最小公倍数
    return a/gcd(a,b)*b

def divisors(a): # 約数列挙
    divisors = []
    for i in range(1,int(a**0.5)+1):
        if a%i==0:
            divisors.append(i)
            if i!=a//i:
                divisors.append(a//i)
    return divisors

def is_prime(a): #素数判定
    if a<2:
        return False
    elif a==2:
        return True
    elif a%2==0:
        return False
    sqrt_num = int(a**0.5)
    for i in range(3,sqrt_num+1,2):
        if a%i==0:
            return False
    return True

def prime_num(a): #素数列挙
    pn = [2]
    for i in range(3,int(a**0.5),2):
        prime = True
        for j in pn:
            if i%j==0:
                prime = False
                break
        if prime:
            pn.append(i)
    return pn

def prime_fact(a): #素因数分解
    sqrt = math.sqrt(a)
    res = []
    i = 2
    if is_prime(a):
        res.append(a)
    else:
        while a!=1:
            while a%i==0:
                res.append(i)
                a //= i
            i += 1
    return res

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

if __name__=='__main__':
    main()

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

Submission status: Accepted

Solution code:
A, B = list(map(int, input().split()))
if A==1: A=14
if B==1: B=14
print('Alice' if A>B else 'Bob' if 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('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 = map(int, input().split())

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

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

Submission status: Accepted

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

if a == b:
    ans = 'Draw'
elif a < b and a != 1:
    ans = 'Bob'
elif a < b and a == 1:
    ans = 'Alice'
elif a > b and b != 1:
    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==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:
#54a
A,B = map(int, input().split())

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

Submission status: Accepted

Solution code:
a, b = [int(x) for x in 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, B = map(int, input().split())
list = []
for i in range(2, 14):
    list.append(str(i))
list.append('1')

Alice = list.index(str(A))
Bob = list.index(str(B))

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

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
if a == b:
    print("Draw")
elif (not 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 == b:
    print("Draw")
elif (not b == 1 and a > b) or a == 1:
    print("Alice")
elif b == 1:
    print("Bob")
else:
    print("Bob")

Submission status: Accepted

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

Submission status: Accepted

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

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:
#!/usr/bin/env python3
import sys, math, itertools, collections, bisect
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
inf = float('inf')
ans = 0 ;count = 0 ;pro = 1

a,b=map(int,input().split())
a-=2;b-=2
a%=13;b%=13
print("Alice" if a>b else "Draw" if a==b  else "Bob" )

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

a,b = map(int, sys.stdin.readline().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:
# coding: utf-8

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 = list(map(int, input().split()))
cards = [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1]
if cards.index(A) > cards.index(B) :
  print("Alice")
elif cards.index(B) > cards.index(A) :
  print("Bob")
else :
  print("Draw")

Submission status: Accepted

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

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

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

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:
import sys

a, b = map(int, sys.stdin.readline().split())

def strongness(x):
    return (x + 11) % 13

def main():
    sa = strongness(a)
    sb = strongness(b)
    if sa == sb:
        return 'Draw'
    elif sa > sb:
        return 'Alice'
    else:
        return 'Bob'
    

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
Alice, Bob = map(int, input().split())

if Alice == 1:
    Alice += 13

if Bob == 1:
    Bob += 13

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

Submission status: Accepted

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

l = list(range(2, 14)) + [1]

if l.index(a) < l.index(b):
    print('Bob')
elif l.index(a) > l.index(b):
    print('Alice')
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('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("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 b>a:
  print('Bob')

Submission status: Accepted

Solution code:
A, B= map(int, open(0).read().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 == 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 == 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())

rank = (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B=map(int,input().split())
if (A+11)%13 > (B+11)%13:
  print("Alice")
elif (A+11)%13 < (B+11)%13:
  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:
A,B=map(int,input().split())
if (B==1 and A!=1) or(A!=1 and B>A):
  print("Bob")
elif (A==1 and B!=1) or B<A:
  print("Alice")
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

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

Submission status: Accepted

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

if alice == bob:
    print("Draw")
else:
    if alice == 1:
        print("Alice")
    elif bob == 1:
        print("Bob")
    else:
        if alice > bob:
            print("Alice")
        else:
            print("Bob")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin

a,b = [int(x) for x in stdin.readline().rstrip().split()]

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

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

Submission status: Accepted

Solution code:
# ABC054a
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**6)

a, b = map(int, input().split())
card = [i for i in range(1, 15)]
card[0] = None
card[13] = 1
# Aprint(card)

if card.index(a) > card.index(b):
    print('Alice')
elif card.index(a) == card.index(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")
elif a<b:
  print("Bob")

Submission status: Accepted

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

Submission status: Accepted

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


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

Submission status: Accepted

Solution code:
##### 解けた #####

# 順序を修正した番号を返す
def cardwo(c):
    return c+int(c==1)*20

A,B=list(map(int,input().split(" ")))
A,B=cardwo(A),cardwo(B) # 順序を修正した強さ

if A>B: # Aliceの方が強い場合
    print("Alice")
elif A<B: # Bobの方が強い場合
    print("Bob")
else: # 引き分けの場合
    print("Draw")

Submission status: Accepted

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

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

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 == 1 and b != 1:
  print("Alice")
elif b == 1 and a != 1:
  print("Bob")
elif 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())
dic = ['Alice','Bob','Draw']
ans = 0

if a==b:
	ans = 2
elif a>b:
	ans = 0
else:
	ans = 1
      
if (a==1 or b==1) and ans!=2:
	ans ^= 1

print(dic[ans])

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:
s=['2','3','4','5','6','7','8','9','10','11','12','13','1']
a,b=input().split()
da=s.index(a)
db=s.index(b)
if da>db:
    print("Alice")
elif da<db:
    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("Bob")
elif(a>b):
  print("Alice")

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
if a == 1 and b!= 1:
    print("Alice")
elif b == 1 and a != 1:
    print("Bob")
elif a > b:
    print("Alice")
elif 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 and b == 13:
    print('Alice')
elif a == 13 and b == 1:
    print('Bob')
elif a > b:
    print('Alice')
elif a < b:
    print('Bob')

Submission status: Accepted

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

#入力
A, B = 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")
  elif A < B :
    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')
elif a == b:
  print('Draw')
elif a>b :
  print('Alice')
else:
  print('Bob')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
numberslist = [2,3,4,5,6,7,8,9,10,11,12,13,1]
indexofa = numberslist.index(a)
indexofb = numberslist.index(b)
if indexofa > indexofb:
    print("Alice")
elif indexofa < indexofb:
    print("Bob")
elif indexofa == indexofb :
    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=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())
cards = ["2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "1"]

for i in range(13):
    if int(cards[i]) == A:
        alice = i
    if int(cards[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:
    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 = (int(x) for x in input().split())

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