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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A,B = list(map(int,input().split()))
listA = list(range(2,14))
listA.append(1)
C = listA.index(A)
D = listA.index(B)
if C > D:
    print("Alice")
elif C == D:
    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:
import sys
import itertools
sys.setrecursionlimit(1000000000)
from heapq import heapify,heappop,heappush,heappushpop
import math
import collections
MOD = 10**9 + 7

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
def main():
    a,b = (int(x) for x in input().split())
    if a == b: print('Draw')
    elif (a < b and a != 1) or b == 1 : print('Bob')
    else: print('Alice')

if __name__ == '__main__':
    main()

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x = input()
# x = x.replace(1,14)
# replaceは，文字列しか使えない．
ls_x = x.split()

# xに入力した文字列たちを整数化

for i in range(len(ls_x)):
    ls_x[i] = int(ls_x[i])

if ls_x[0] == ls_x[1]:
    print("Draw")

elif ls_x[0] == 1:
    print("Alice")

elif ls_x[1] == 1:
    print("Bob")

elif ls_x[0] > ls_x[1]:
    print("Alice")

elif ls_x[0] < ls_x[1]:
    print("Bob")

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 A < B else 'Draw')

Submission status: Accepted

Solution code:
#One Card Poker
def ABC_54_A():
    A,B = map(int, input().split())
    
    if A == 13 and B == 1:
        print('Bob')
    elif A == 1 and B == 13:
        print('Alice')
    elif A == B:
        print('Draw')
    elif A > B:
        print('Alice')
    else:
        print('Bob')


if __name__ == '__main__':

    ABC_54_A()

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

print(ans)

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = map(int,input().split())
a = (A-2)%13
b = (B-2)%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("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:
a,b = map(int,input().split())

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

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

Submission status: Accepted

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

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

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:

def resolve():
    A, B = list(map(int, input().split()))
    if A == B:
        print("Draw")
        return
    if A == 1:
        A = 14
    if B == 1:
        B = 14
    
    if A > B: 
        print("Alice")
    else:
        print("Bob")


if '__main__' == __name__:
    resolve()

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
from collections import defaultdict
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,bisect_right
from heapq import heapify, heappop, heappush
from math import floor, ceil
from operator import itemgetter
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def LI2(): return [int(input()) for i in range(n)]
def MXI(): return [[LI()]for i in range(n)]
inf = 10**17
mod = 10**9 + 7
 
st=[0,13,1,2,3,4,5,6,7,8,9,10,11,12]
a,b=MI()
if st[a]>st[b]:
    print("Alice")
elif st[a]==st[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")
elif B == 1:
    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==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())
point = [13,1,2,3,4,5,6,7,8,9,10,11,12]
alice = point[a-1]
bob = point[b-1]
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 and b!=1:
  print("Alice")
elif a!=1 and b==1:
  print("Bob")
elif a==1 and b==1:
  print("Draw")
elif a>b:
  print("Alice")
elif a<b:
  print("Bob")
else:
  print("Draw")

Submission status: Accepted

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

resolve()

Submission status: Accepted

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

resolve()

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

Submission status: Accepted

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

for i in range(2):
    if tmp[i] == 1:
        tmp[i] = 14

A, B = tmp

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

Submission status: Accepted

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


def solve(A: int, B: int):
    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")
    return


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  # type: int
    B = int(next(tokens))  # type: int
    solve(A, B)

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

Submission status: Accepted

Solution code:
N = [int(e) for e in input().split()]
if(N[0] == N[1]):
    print('Draw')
elif(N[0] == 1):
    print('Alice')
elif(N[1] == 1):
    print('Bob')
elif(N[0] > N[1]):
    print('Alice')
else:
    print('Bob')

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

Submission status: Accepted

Solution code:
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:
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 and b != 1:
    print("Alice")
elif 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 B>A:
    print('Bob')
else:
    print('Draw')

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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

print(judge)

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

Submission status: Accepted

Solution code:
import sys
import heapq, math
from itertools import zip_longest, permutations, combinations, combinations_with_replacement
from itertools import accumulate, dropwhile, takewhile, groupby
from functools import lru_cache
from copy import deepcopy

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

Submission status: Accepted

Solution code:
x, y = map(int,input().split())

if x == y:
    print("Draw")
elif x == 1:
    print("Alice")
elif y == 1:
    print("Bob")
elif x > y:
    print("Alice")
else:
    print("Bob")

Submission status: Accepted

Solution code:
a,b=[str(i) for i in input().split()]
list=["2","3","4","5","6","7","8","9","10","11","12","13","1"]
A=list.index(a)
B=list.index(b)
if A>B:
  print('Alice')
elif A==B:
  print('Draw')
else:
  print('Bob')

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

Submission status: Accepted

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


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

Submission status: Accepted

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

Submission status: Accepted

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

elif a == 1 and (2 <= b and b <= 13):
    print('Alice')

elif b == 1 and (2 <= a and a <= 13):
    print('Bob')

elif a > b:
    print('Alice')

elif b > a:
    print('Bob')

elif a == b:
    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:
# https://atcoder.jp/contests/abc054/tasks/abc054_a
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:
a , b =(map(int , input().split()))

if a==1:
  a=a+13

if b==1:
  b=b+13
  
if a>b :
  print("Alice")

elif a<b:
  print("Bob")

else:
  print("Draw")

Submission status: Accepted

Solution code:
A,B = [int(i) for i in input().split()]
if A > B:
  if B != 1:
  	print("Alice")
  else:
    print("Bob")
elif A < B:
  if A != 1:
  	print("Bob")
  else:
    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")
    else:
        if 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 and b!=1:
  print('Alice')
elif b==1 and a!=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-2)%13 > (b-2)%13 :
  print('Alice')
elif (a-2)%13 == (b-2)%13 :
  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:
x = list(map(int, input().split()))
if x[0]==1:
    x[0]=14
if x[1]==1:
    x[1]=14
print("Alice" if x[0]>x[1] else "Bob" if x[0]<x[1] 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 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('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:
    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
    
if  a > b: 
    print("Alice")
elif b > a:
    print("Bob")
elif a == b:
    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 b > a:
    print("Bob")
elif a == b:
    print("Draw")

Submission status: Accepted

Solution code:
import sys
IS = lambda: sys.stdin.readline().rstrip()
II = lambda: int(IS())
MII = lambda: list(map(int, IS().split()))
MIIZ = lambda: list(map(lambda x: x-1, MII()))

def main():
    a, b = MII()
    cards = [2,3,4,5,6,7,8,9,0,11,12,13,1]
    i_a = cards.index(a)
    i_b = cards.index(b)
    if i_a == i_b: print('Draw')
    elif i_a > i_b: print('Alice')
    else: print('Bob')

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

Submission status: Accepted

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

if l[a] > l[b] :
  print('Alice')
elif l[a] == l[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 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 == 1:
    print("Draw")
if A == 1 and B != 1:
    print("Alice")
if B == 1 and A != 1:
    print("Bob")
if A != 1 and B != 1:
    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")
if a==1 and a!=b:
    print("Alice")
elif b==1 and b!=a:
    print("Bob")
elif a>b:
    print("Alice")
elif b>a:
    print("Bob")

Submission status: Accepted

Solution code:
icase=0
if icase==0:
    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

stdin = sys.stdin
inf = 1 << 60
mod = 1000000007

ni      = lambda: int(ns())
nin     = lambda y: [ni() for _ in range(y)]
na      = lambda: list(map(int, stdin.readline().split()))
nan     = lambda y: [na() for _ in range(y)]
nf      = lambda: float(ns())
nfn     = lambda y: [nf() for _ in range(y)]
nfa     = lambda: list(map(float, stdin.readline().split()))
nfan    = lambda y: [nfa() for _ in range(y)]
ns      = lambda: stdin.readline().rstrip()
nsn     = lambda y: [ns() for _ in range(y)]
ncl     = lambda y: [list(ns()) for _ in range(y)]
nas     = lambda: stdin.readline().split()

a, b = na()

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

Submission status: Accepted

Solution code:
def main():
    card = dict()

    for i in range(2, 13+1):
        card[str(i)] = i
    card["1"] = 14

    A, B = input().split()

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

main()

Submission status: Accepted

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

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

s_a = strength.index(a)
s_b = strength.index(b)

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

Submission status: Accepted

Solution code:
# import numpy as np
# import math
# import copy
# from collections import deque
import sys
input = sys.stdin.readline
# sys.setrecursionlimit(10000)


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

    ans = ['Alice','Bob','Draw']

    if A == B:
        res = 2
    elif A == 1:
        res = 0
    elif B == 1:
        res = 1
    elif A > B:
        res = 0
    elif A < B:
        res = 1

    print(ans[res])



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

Submission status: Accepted

Solution code:
A, B = map(lambda x: (int(x)+13)%15, 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:
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')