Problem:


Score : 100 points

Problem Statement

Alice and Bob are playing One Card Poker.

One Card Poker is a two-player game using playing cards.  

Each card in this game shows an integer between 1 and 13, inclusive.

The strength of a card is determined by the number written on it, as follows:  

Weak 2 < 3 < 4 < 5 < 6 < 7 < 8 < 9 < 10 < 11 < 12 < 13 < 1 Strong  

One Card Poker is played as follows:  

Each player picks one card from the deck. The chosen card becomes the player's hand.

The players reveal their hands to each other. The player with the stronger card wins the game.

If their cards are equally strong, the game is drawn.  

You are watching Alice and Bob playing the game, and can see their hands.

The number written on Alice's card is A, and the number written on Bob's card is B.

Write a program to determine the outcome of the game.  

Constraints

1≦A≦13 

1≦B≦13 

A and B are integers.

Input

The input is given from Standard Input in the following format:

A B

Output

Print Alice if Alice will win. Print Bob if Bob will win. Print Draw if the game will be drawn.

Sample Input 1

8 6

Sample Output 1

Alice

8 is written on Alice's card, and 6 is written on Bob's card.
Alice has the stronger card, and thus the output should be Alice.

Sample Input 2

1 1

Sample Output 2

Draw

Since their cards have the same number, the game will be drawn.

Sample Input 3

13 1

Sample Output 3

Bob



Sample input:
8 6


Sample output:
Alice

Submission status: Accepted

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

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

Submission status: Accepted

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

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 = [int(x) for x in 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>b and b != 1) or a == 1:
    print('Alice')
else:
    print('Bob')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


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

    if A == B:
        print("Draw")
    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(' '))
result = "Draw"

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

if (a > b):
  result = "Alice"
if (a < b):
  result = "Bob"

print(result)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
li = list(map(int, input().split()))
a, b = li[0], li[1]
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 < B and A!=1 or B==1:
  print('Bob')
else:
  print('Alice')

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
# int(input()) # 入力が1つ
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:
  print('Draw' if a==b else 'Alice' if b!=1 else 'Bob')
else:
  print('Draw' if a==b else 'Alice' if a>b else '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]
A=l.index(a)
B=l.index(b)
if A > B:
  print("Alice")
elif A == B:
  print("Draw")
else:
  print("Bob")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
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 = 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:
s = [i for i in range(2,14)] + [1]
a, b = map(int, input().split())
if s.index(a) > s.index(b):
    ans = 'Alice'
elif s.index(a) < s.index(b):
    ans = 'Bob'
else:
    ans = 'Draw'
print(ans)

Submission status: Accepted

Solution code:
x,y = map(int,input().split())
if x == y:
    print("Draw")
if x == 1:
    x += 13
if y == 1:
    y += 13
if x < y:
    print("Bob")
if x > y:
    print("Alice")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# https://atcoder.jp/contests/abc054/tasks/abc054_a

A, B = map(int, input().split())
Alice = 'Alice'
Bob = 'Bob'
Draw = 'Draw'

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
  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')
if __name__ == '__main__':
  main()

Submission status: Accepted

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# A - One Card Poker
# 標準入力の取得
A,B = list(map(int, input().split()))

# 1⇒14と見なしてから、大きさを比較
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:
#ABC054A
a,b = map(int,input().split())
s = "Alice"
t = "Bob"
if ((a == 1)and(b == 13)):
    print(s)
elif((a == 13)and(b == 1)):
    print(t)
elif ((a > b) and (a != 1) ):
    print(s)
elif ((a < b) and (a != 1)):
    print(t)
else:
    print("Draw")

Submission status: Accepted

Solution code:
import sys

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

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

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

if __name__ ==  '__main__':
    main()

Submission status: Accepted

Solution code:
#  ABC 054: A – One Card Poker
a, b = [int(card) for card in 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 = 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==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())
r = ''
if a == b:
	r = 'Draw'
elif a == 1:
	r = 'Alice'
elif b == 1:
	r = 'Bob'
else:
	r = 'Alice' if a > b else 'Bob'
print(r)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

if __name__ == '__main__':
    a = [int(i) for i in input().split()]
    
    if a[0] == 1:
        a[0]+=13
    if a[1] == 1:
        a[1]+=13


    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==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:
A, B = map(int, input().split())

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

print(result)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
if a == 1: a += 13
if b == 1: b += 13
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 = 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
print(['ABloibc e'[A<B::2],'Draw'][A==B])

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math

A,B=list(map(int, input().split()))

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a,b = [int(x) for x in 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('Draw')
elif a < b:
    print('Bob')
elif a > b:
    print('Alice')

Submission status: Accepted

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

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

a_idx = strength_list.index(a)
b_idx = strength_list.index(b)

if a_idx > b_idx:
    print('Alice')
elif a_idx == b_idx:
    print('Draw')
else:
    print('Bob')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B=map(int,input().split())
if A==B:
    print("Draw")
elif A==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:
import sys
import os


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    A, B = list(map(int, sys.stdin.buffer.readline().split()))
    print('Alice' if (A+13)%15 > (B+13)%15 else 'Draw' if (A+13)%15 == (B+13)%15 else 'Bob')


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

if a == 1:
    a = 14

if b == 1:
    b = 14

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

Submission status: Accepted

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

print(v)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#abc054 a 
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 = [14 if i == "1" else int(i) for i in input().split()]

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

Submission status: Accepted

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

def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    a,b=MI()
    if a==1:
        a+=13
    if b==1:
        b+=13
        
    if a>b:
        print("Alice")
    elif b>a:
        print("Bob")
    else:
        print("Draw")

main()

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

Submission status: Accepted

Solution code:
import numpy as np
    
strong_order = np.array([14,2,3,4,5,6,7,8,9,10,11,12,13])

A,B = [int(i)-1 for i in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A - One Card Poker
a,b=list(map(int,input().split()))
if a==1:
    a=14
if b==1:
    b=14

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

ab=[int(i) for i in input().split()]
for i in range(2):
    if ab[i]==1:
        ab[i]+=13
print("Alice" if ab[0]>ab[1] else "Draw" if ab[0]==ab[1] else "Bob")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
ab=[int(i) for i in input().split()]
for i in range(2):
    if ab[i]==1:
        ab[i]+=13
print("Alice" if ab[0]>ab[1] else "Draw" if ab[0]==ab[1] else "Bob")

Submission status: Accepted

Solution code:
import sys

def yn(b):
    print("Yes" if b==1 else "No")
    return

def resolve():
    readline=sys.stdin.readline
    a,b=list(map(int, readline().strip().split()))
    if a==b:
        print("Draw")
        return
    if a==1:
        print("Alice")
        return
    if b==1:
        print("Bob")
        return
    if a>b:
        print("Alice")
        return
    else:
        print("Bob")
    return


resolve()

Submission status: Accepted

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

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

elif A<B:
  print("Bob")

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

Submission status: Accepted

Solution code:
# import bisect
# from collections import Counter, defaultdict, deque
# import copy
# from heapq import heappush, heappop, heapify
# from fractions import gcd
# import itertools
# from operator import attrgetter, itemgetter
# import math

import sys

# import numpy as np

ipti = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)

def main():
    a, b = list(map(int,ipti().split()))
    a, b = (a+11)%13, (b+11)%13

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b = (int(x) for x in 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:
input1 = list(map(int,input().split()))
A = input1[0]
B = input1[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")

Submission status: Accepted

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

A, B = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

p = [2,3,4,5,6,7,8,9,10,11,12,13,1]
if p.index(a) < p.index(b):
    print('Bob')
elif p.index(a) > p.index(b):
    print('Alice')
elif p.index(a) == p.index(b):
    print('Draw')