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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


def main():
    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("Alice")
    else:
        print("Draw")


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

def main():
    lines = map(lambda x: [int(i) for i in string.split(x)],
        sys.stdin.readlines())

    alices_card, bobs_card = lines[0]        
    alice_score = card_strength.index(alices_card)
    bob_score = card_strength.index(bobs_card)

    if(alice_score > bob_score):
        print("Alice")
    elif(alice_score < bob_score):
        print("Bob")
    else:
        print("Draw")

    # sys.stdout.write(%s % count)

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

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 = (int(_) for _ in input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = list(map(int, 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())

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

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

Submission status: Accepted

Solution code:
#54a
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")
else:
    if a>b:
        print("Alice")
    elif a==b:
        print("Draw")
    else:
        print("Bob")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def aaa(s):
    if s == '1':
        return 14
    else:
        return int(s)

a, b = map(aaa, input().split())
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('Bob')
else:
    print('Alice')

Submission status: Accepted

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

a, b = [14 if 1==ab_i else ab_i for ab_i in (a, b)]
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:
l=[i for i in range(2,14)]
l.append(1)
a,b=map(int,input().split())
c=l.index(a)
d=l.index(b)
if c>d:
  print('Alice')
elif c<d:
  print('Bob')
else:
  print('Draw')

Submission status: Accepted

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

if alice == 1:
    alice = 14
if bob == 1:
    bob = 14
if alice > bob:
    print("Alice")
if alice < bob:
    print("Bob")
if alice == bob:
    print("Draw")

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'
else:
    ans = 'Bob'

print(ans)

Submission status: Accepted

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

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

a = (a - 2 + 13) % 13
b = (b - 2 + 13) % 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("Draw")
else:
  print("Alice")

Submission status: Accepted

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

if a == 1:
    a += 13
if b == 1:
    b += 13

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#coding:utf-8
n=[int(i) for i in input().split()]
if(n[0]==1):
  n[0]+=13
if(n[1]==1):
  n[1]+=13
if(n[0]==n[1]):
  print("Draw")
elif(n[0]<n[1]):
  print("Bob")
else:
  print("Alice")

Submission status: Accepted

Solution code:
l = [(int(x)+11)%13 for x in raw_input().split()]
if l[0] == l[1]:
	print "Draw"
elif l[0] > l[1]:
	print "Alice"
else:
	print "Bob"

Submission status: Accepted

Solution code:
a,b=map(lambda x:(int(x)+12)%14,input().split())
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())

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

a = card.index(A)
b = card.index(B)

if a > b:
    Ans = 'Alice'
elif b > a:
    Ans = 'Bob'
else:
    Ans = 'Draw'

print(Ans)

Submission status: Accepted

Solution code:
def main():
    x = input()
    l = x.split(" ")
    A = int(l[0])
    B = int(l[1])

    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")

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a,b = map(str,input().split())
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}

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

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

Submission status: Accepted

Solution code:

def one(x):
    if x == 1:
        return 14
    else:
        return x

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

Submission status: Accepted

Solution code:

def one(x):
    if x == 1:
        ret = 14
        return ret
    else:
        ret = x
        return ret

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = (int(i) for i in 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:
a, b = [(int(i)+12)%14 for i in input().split()]
ans = ""
if a > b:
  ans = "Alice"
elif a < b:
  ans = "Bob"
else:
  ans = "Draw"
print(ans)

Submission status: Accepted

Solution code:
A,B=map(lambda x:[int(x),14][x == "1"],input().split());print(["Alice","Bob","Draw"][(A<=B)+(A==B)])

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=map(int,input().split());print(['Draw',['Bob','Alice'][(a+13)%15>(b+13)%15]][a!=b])

Submission status: Accepted

Solution code:
a,b=map(lambda x:(int(x)+13)%15,input().split());print(['Draw',['Bob','Alice'][a>b]][a!=b])

Submission status: Accepted

Solution code:
a,b = map(lambda x:(int(x)+13)%15,input().split());print(['Draw',['Bob','Alice'][a>b]][a!=b])

Submission status: Accepted

Solution code:
a = [int(i) for i in input().split()] 
if a[0] == 1:
  a[0] = a[0] + 13

if a[1] == 1:
  a[1] = a[1] + 13

  
if a[0] > a[1]:
  print("Alice")
elif a[0] < a[1]:
  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,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:
import sys

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

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

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

Submission status: Accepted

Solution code:
import sys

a, b = list(map(lambda x: int(x), sys.stdin.readline().strip().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 == 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(lambda x:(int(x)-2)%13, input().split())
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 == 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 = 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())

Ans = ""
if A==1:
    A=14
if B==1:
    B=14

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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:
c = list(range(2, 14)) + [1]
a, b = map(int, input().split())
print("Alice" if c.index(a)>c.index(b) else "Draw" if c.index(a)==c.index(b) else "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  (A==13 and B ==1):
    print ('Bob')
elif  max(A,B)==A:
    print ('Alice')
else:
    print ('Bob')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def poker(a, b):
	if a == b: return 'Draw'
	elif a == 1: return 'Alice'
	elif b == 1: return 'Bob'
	elif a > b: return 'Alice'
	else: return 'Bob'

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

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,B = map(lambda x : x-1 if x-1 > 0 else 13, [A, B])
print("Alice" if A > B else ("Bob" if B > A else "Draw"))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

# AtCoder Beginner Contest
# Problem A

if __name__ == '__main__':
    card_orders = [number for number in range(2, 13 + 1)] + [1]
    a, b = list(map(int, input().split()))

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

elif a == 1:
    print("Alice")
elif b == 1:
    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 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 = [int(i) for i in input().split()]

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

Submission status: Accepted

Solution code:
import math
import sys

def getinputdata():

    # 配列初期化
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result





arr_data = getinputdata()

a = int(arr_data[0][0])
b = int(arr_data[0][1])


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

Submission status: Accepted

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

Submission status: Accepted

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