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 == 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 a < b:
    print('Bob')
elif a == b:
    print('Draw')

Submission status: Accepted

Solution code:
s = list(map(int, input().split()))
if s[0] == s[1]:
    print("Draw")
elif min(s) != 1:
    if s[0] > s[1]:
        print("Alice")
    else:
        print("Bob")
else:
    if s[0] < s[1]:
        print("Alice")
    else:
        print("Bob")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if A == 1 or 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")

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

Submission status: Accepted

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

def re_define(input_):
    '''強さ順にする'''
    if input_ == 1:
        return 13
    
    return input_ - 1

A = re_define(A)
B = re_define(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())
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, raw_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"

Submission status: Accepted

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

for i, num in enumerate(ab):
  if num == 1: ab[i] = 14
    
if ab[0] > ab[1]: print('Alice')
elif ab[0] < ab[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 b > a:
    print('Bob')
else:
    print('Draw')

Submission status: Accepted

Solution code:
import sys, os

f = lambda:list(map(int,input().split()))
if 'local' in os.environ :
    sys.stdin = open('./input.txt', 'r')

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

solve()

Submission status: Accepted

Solution code:
# encoding:utf-8
import copy
import random
import bisect #bisect_left　これで二部探索の大小検索が行える
import fractions #最小公倍数などはこっち
import math
import sys

mod = 10**9+7
sys.setrecursionlimit(mod) # 再帰回数上限はでdefault1000


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

if B == 1 and A != 1:
    if A != 1 :
        print("Bob")

if A == 1 and B == 1 :
    print("Draw")

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
A - One Card Poker
https://atcoder.jp/contests/abc054/tasks/abc054_a

"""
import sys


def solve(A, B):
    if A == 1:
        A = 14
    if B == 1:
        B = 14
    if A == B:
        return 'Draw'
    if A > B:
        return 'Alice'
    return 'Bob'


def main(args):
    A, B = map(int, input().split())
    ans = solve(A, B)
    print(ans)


if __name__ == '__main__':
    main(sys.argv[1:])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = map(lambda x: 14 if x == '1' else int(x), input().split())
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())

# 計算と出力
if (a == 1)  or  (b == 1) :
    if (a == 1) and ( b == 1) :
        print("Draw")
    elif (a == 1) and ( b != 1):
        print("Alice")
    else :
        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())
t=[0,14,2,3,4,5,6,7,8,9,10,11,12,13]
print("Draw" if a==b else "Alice" if t[a]>t[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("Draw")
else:
    print("Bob")

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def cvt(x):
  y=int(x)
  if y==1:
    return 14
  else:
    return y
a,b=map(cvt,input().split())
if a==b:
  ans='Draw'
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==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 += 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())
a=(a-2)%13
b=(b-2)%13
if a>b: ans='Alice'
elif b>a:ans='Bob'
else: ans='Draw'
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

#1を14として扱う

if alice==1:
	alice+=13
if bob==1:
	bob+=13

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

Submission status: Accepted

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

Submission status: Accepted

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

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

    solve(A, B)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
c=[i for i in range(2,14)]+[1]
ans='Alice'
if c.index(a)<c.index(b):
    ans='Bob'
elif c.index(a)==c.index(b):
    ans='Draw'
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B=map(int,input().split())
def win(i,j):
    if i == j: return "Draw"
    if i == 1: return "Alice"
    elif j == 1: return "Bob"
    else: return "Alice" if i > j else "Bob"
print(win(A,B))

Submission status: Accepted

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

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

Submission status: Accepted

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

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]
aa = c.index(a)
bb = c.index(b)
if aa > bb:
    print('Alice')
elif aa < bb:
    print('Bob')
else:
    print('Draw')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
c = list(map(str,range(2, 14)))+['1']
A, B = map(c.index, input().split())
print('Draw' if A == B else 'Alice' if A > B else 'Bob')

Submission status: Accepted

Solution code:
a, b = [int(n)+13 if n is '1' else int(n) for n in input().split()]

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:A+=13
if B==1:B+=13
print('Alice'if A>B else'Bob'if B>A else'Draw')

Submission status: Accepted

Solution code:
def card_check(alice,bob):
    if alice > bob:
        print("Alice")
    elif alice < bob:
        print("Bob")
    else:
        print("Draw")

    return

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

if a == 1:
    a = 14
else:
    pass

if b == 1:
    b = 14
else:
    pass

card_check(a,b)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:


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


def judge(a, b):
    if a == 1:
        return 'Alice'

    if b == 1:
        return 'Bob'

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


def submit():
    a, b = read_input()

    if a == b:
        print('Draw')
    else:
        print(judge(a, b))

if __name__ == '__main__':
    submit()

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:
dic={2:1,3:2,4:3,5:4,6:5,7:6,8:7,9:8,10:9,11:10,12:11,13:12,1:13}
a,b=map(int,input().split())
if dic[a]>dic[b]:
    print("Alice")
elif dic[a]<dic[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("Draw")
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 == 1 and b == 13):
    print("Alice")
elif(b == 1 and a == 13):
    print("Bob")
elif(a > b):
    print("Alice")
elif(a < b):
    print("Bob")

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('Draw')
elif card.index(a)>card.index(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:
        winner = 'D'
    else:
        winner = 'A' if A > B else 'B'
else:
    if A == B:
        winner = 'D'
    else:
        winner = 'A' if A == 1 else 'B'

if winner == 'A':
    print('Alice')
elif winner == '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())

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

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

print(ans)

Submission status: Accepted

Solution code:
A,B=map(int,input().split())
if A==1:
  A+=13
if B==1:
  B+=13
print(["Alice" if A>B else "Draw","Bob"][A<B])

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

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
a=(a-2)%13
b=(b-2)%13
print(["Draw","Alice","Bob"][2*(a<b)+(a>b)])

Submission status: Accepted

Solution code:
a, b = [(int(i)+11)%13 for i in input().split()]
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('Bob')
else:
  print('Draw')

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = (int(i) if int(i) != 1 else 14 for i in input().split())

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

Submission status: Accepted

Solution code:
# ABC054A - One Card Poker
a, b = list(map(int, input().rstrip().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 functools

import os

INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


def inl():
    return list(map(int, input().split()))


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def inpm(line):
    return [inp() for _ in range(line)]


def inpfm(line):
    return [inpf() for _ in range(line)]


def inpsm(line):
    return [inps() for _ in range(line)]


def inlm(line):
    return [inl() for _ in range(line)]


def inlfm(line):
    return [inlf() for _ in range(line)]


def inlsm(line):
    return [inls() for _ in range(line)]


def debug(fn):
    if not os.getenv('LOCAL'):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print('DEBUG: {}({}) -> '.format(
            fn.__name__,
            ', '.join(
                list(map(str, args)) +
                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]
            )
        ), end='')
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper

a, b = inl()
x = (a - 2) % 13
y = (b - 2) % 13
if x > y:
    print('Alice')
elif x < y:
    print('Bob')
else:
    print('Draw')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
inp=[int(i) for i in input().split()]

for i in range(len(inp)):
  if inp[i]==1:
    inp[i]=14

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

Submission status: Accepted

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

int(a)
int(b)

if(a=='1'):
  a= 14

if(b=='1'):
  b= 14

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

Submission status: Accepted

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

a = (A + 12) % 14
b = (B + 12) % 14
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())
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:
    ans = "Alice"
elif a < b:
    ans = "Bob"
else:
    ans = "Draw"
print(ans)

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

Submission status: Accepted

Solution code:
a, b = [int(item) for item in input().split()]
if a == 1:
  a += 100
if b == 1:
  b += 100
  
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 += 13
if b == 1:
    b += 13
if a==b:
    print("Draw")
elif a<b:
    print("Bob")
else:
    print("Alice")

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
import sys

def main():
    input = sys.stdin.readline
    A, B = map(int, input().split())
    
    if A == B:
        return 'Draw'
    elif A == 1:
        return 'Alice'
    elif B == 1:
        return 'Bob'
    elif A > B:
        return 'Alice'
    else:
        return 'Bob'


if __name__ == '__main__':
    print(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')
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 == 1:
  print("Alice")
elif B == 1:
  print("Bob")
elif A > B :
  print("Alice")
else:
  print("Bob")