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: Wrong Answer

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

if a == 1:
    a = 14

if b == 1:
    b = 14

print(a, b)

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

Submission status: Wrong Answer

Solution code:
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: Wrong Answer

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

if a == 1:
    a = 14
elif b == 1:
    b == 14

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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: Wrong Answer

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

if A > B and B != 1:
    print('Alice')

elif A > B and B == 1:
    print('Bob')

elif A < B and A != 1:
    print('Alice')
elif A < B and A == 1:
    print('Alice')
else:
    print('Draw')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# import math
# import statistics
#a=input()
#b,c=int(input()),int(input())
# c=[]
# for i in a:
#    c.append(i)
e1,e2 = map(int,input().split())
#K = input()
# f = list(map(int,input().split()))
#g = [input() for _ in range(a)]
a=[2,3,4,5,6,7,8,9,10,11,12,13,1]
if e1==e2:
	print('Draw')
elif a.index(e1)<a.index(e2):
	print('Alice')
else:
	print('Bob')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# aアリス　　　ｂボブ
a, b = map(int, input().split())
if a < b:
    print("Bob")
elif b < a:
    print("Alice")
elif a == b:
    print("Draw")

Submission status: Wrong Answer

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

# 出力
if 1 <= A and B <= 13:
    if A == B:
        print('Draw')
    elif A != 1 and A > B:
        print('Alice')
    elif B != 1 and B > A:
        print('Bob')
    elif A == 1:
        print('Alice')
    elif B == 1:
        print('Bob')

Submission status: Wrong Answer

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

# 出力
if 1<= A and B <= 13:
    if A == B :
        print('Draw')
    elif B > A or B == 1 and A >= 2:
        print('Bob')
    elif A > B or A == 1 and B >= 2:
        print('Alice')

Submission status: Wrong Answer

Solution code:
# A - One Card Poker
def main():
    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('Alice')
    else:
        print('Bob')
  
        
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
# A - One Card Poker
def main():
    a, b = map(int, input().split())

    if a > b:
        print('Alice')
    elif a < b:
        print('Bob')
    else:
        print('Draw')
  
        
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
#   AtCoder abc054 a
#   ストレッチ課題

#   入力
alice, bob = map(int, input().split())

#   判定
if alice == bob:
    print("Draw")
elif (alice == 1) or ((bob != 1) and (alice > bob)):
    print("alice")
else:
    print("bob")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# AliceのスコアAとBobのスコアBを整数で入力
A,B = map(int,input().split())
# AとBが同じならDrawを出力
if A == B:
    print("Draw")
# Aが1がBより大きいならAliceを出力
elif  B != 1 and A == 1 or A > B :
    print("Alice")
# Bの方が強ければBobを出力
else:
    print("Bob")

Submission status: Wrong Answer

Solution code:
# AliceのスコアAとBobのスコアBを整数で入力
A,B = map(int,input().split())
# AとBが同じならDrawを出力
if A == B:
    print("Draw")
# Aが1がBより大きいならAliceを出力
elif A == 1 or A > B:
    print("Alice")
# Bの方が強ければBobを出力
else:
    print("Bob")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
# AliceとBobは、2人で1枚ポーカーを行います。
# 1枚ポーカーは、トランプを用いて行う2人ゲームです。
#
# 今回使用するトランプでは、各カードに 1 から 13 までの数が書かれています。
# カードの強さは、カードに書かれている数で決まり，強さの基準は以下の通りです。
# 弱 2 < 3 < 4 < 5 < 6 < 7 < 8 < 9 < 10 < 11 < 12 < 13 < 1 強
#
# 1枚ポーカーは以下の手順で行います。
#
# 各プレイヤーは、トランプからカードを1枚選んで、自分の手札とします。
# 両プレイヤーは、手札を見せ合います。強いカードを持っているプレイヤーが勝ちです。
# なお、両プレイヤーの持っているカードの強さが同じ場合は引き分けです。
# 2人の対戦を眺めていたあなたは、AliceとBobの手札を知ることができます。
# Aliceが持っているカードに書かれている数は A、Bobが持っているカードカードに書かれている数は Bです。
# 2人の代わりに、勝敗を判定するプログラムを作ってください。

input_alice, input_bob = map(int,input().split())

result = 'ret'

if input_alice > input_bob:
    if input_bob == 1:      # Bobがエースなので勝ち～
        result = 'Bob'
    else:
        result = 'Alis'
elif input_alice < input_bob:
    if input_alice == 1:     # Aliceがエースなので勝ち～
        result = 'Alice'
    else:
        result = 'Bob'
else:
    result = 'Draw'         # どっちも同じ手札なので引き分け～

print(result)

Submission status: Wrong Answer

Solution code:
# AliceとBobは、2人で1枚ポーカーを行います。
# 1枚ポーカーは、トランプを用いて行う2人ゲームです。
#
# 今回使用するトランプでは、各カードに 1 から 13 までの数が書かれています。
# カードの強さは、カードに書かれている数で決まり，強さの基準は以下の通りです。
# 弱 2 < 3 < 4 < 5 < 6 < 7 < 8 < 9 < 10 < 11 < 12 < 13 < 1 強
#
# 1枚ポーカーは以下の手順で行います。
#
# 各プレイヤーは、トランプからカードを1枚選んで、自分の手札とします。
# 両プレイヤーは、手札を見せ合います。強いカードを持っているプレイヤーが勝ちです。
# なお、両プレイヤーの持っているカードの強さが同じ場合は引き分けです。
# 2人の対戦を眺めていたあなたは、AliceとBobの手札を知ることができます。
# Aliceが持っているカードに書かれている数は A、Bobが持っているカードカードに書かれている数は Bです。
# 2人の代わりに、勝敗を判定するプログラムを作ってください。

input_alice, input_bob = map(int,input().split())

result = 'ret'

if input_alice > input_bob:
    if input_bob == 1:      # Bobがエースなので勝ち～
        result = 'Bob'
    else:
        result = 'alis'
elif input_alice < input_bob:
    if input_alice == 1:     # Aliceがエースなので勝ち～
        result = 'Alice'
    else:
        result = 'Bob'
else:
    result = 'Draw'         # どっちも同じ手札なので引き分け～

print(result)

Submission status: Wrong Answer

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

result = 'ret' # 結果出力用の変数

if A == B:
    result = 'Draw' # 両者同じ手札
else:
    if A != 1 and B == 1:
        result = 'Bob'      # Bobのエース勝ち～
    elif A == 1:
        result = 'Alice'    # Aliceのエース勝ち～
    elif A > B:
        result = 'Alice'    # Aliceの方が大きいので勝ち～
    else:
        reslut = 'Bob'      # Bobの方が大きいので勝ち～
                            # ※ なんでなのか、この条件に入ってこない
print(result)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import bisect, collections, copy, heapq, itertools, math, string, sys
input = lambda: sys.stdin.readline().rstrip() 
sys.setrecursionlimit(10**7)
INF = float('inf')
def I(): return int(input())
def F(): return float(input())
def SS(): return input()
def LI(): return [int(x) for x in input().split()]
def LI_(): return [int(x)-1 for x in input().split()]
def LF(): return [float(x) for x in input().split()]
def LSS(): return input().split()

def resolve():
    a, b = LI()
    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__':
    resolve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

def main():
    a, b = map(int, input().split())
    if a-2 < 0:
        a = 12

    if b-2 < 0:
        b = 12

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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:

def main():
    a, b = map(int, input().split())
    if a-2 < 0:
        a = 12

    if b-2 < 0:
        b = 12;

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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# # Make IO faster
# import sys
# input = sys.stdin.readline

# # get single (or) multiple str
# X = input()

# # get single int
# N = int(input())
# # get multiple int (e.g., 2)
# X, Y = map(int, input().split())
# # get multiple int (e.g., 2) for N lines
# XY = [list(map(int, input().split())) for _ in range(N)]

# from IPython import embed; embed(); exit();

# 全部入り
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
import numpy as np
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

X = [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1]
A, B = MAP()
ind_A = X.index(A)
ind_B = X.index(B)
if A > B:
    print("Alice")
elif A == B:
    print("Draw")
else:
    print("Bob")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

if Alice < Bob:
    if Alice == 1:
        print("Alice")
    else:
        print("Bob")
else:
    if Bob == 1:
        print("Bob")
    else:
        print("Alice")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
 
N,M=map(int,input().split())
A=[sys.stdin.readline().strip() for _ in range(N)]
B=[sys.stdin.readline().strip() for _ in range(M)]
 
for i in range(N-M+1):
  for j in range(N-M+1):
    As=[x[j:j+M] for x in A[j:j+M]]
    if B==As:
      print('Yes')
      sys.exit()
print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
def s(): return input()
def i(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
INF = 10**9
mod = 10**9+7

A,B = I()
if A == B:
    print('Draw')
elif A == 0:
    print('Alice')
elif B == 0:
    print('Bob')
elif A > B:
    print('Alice')
else:
    print('Bob')

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
List = [2,3,4,5,6,7,8,9,10,11,12,13,1]
c = 0
d = 0
for i in range(13):
  if a == List[i]:
    c = i
  if b == List[i]:
    d = i
if c == d:
  print("DRAW")
elif c < d:
  print("Bob")
else:
  print("Alice")

Submission status: Wrong Answer

Solution code:
def jubge_winner():
    # ドロー
    A, B = map(int, input().split())
    # 大小判定
    if A > B:
        return 'Alice'
    elif A == B:
        return 'Draw'
    elif A < B:
        return 'Bob'

# 実行
result = jubge_winner()
print(result)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
A,B = (int(x) for x in input().split())
if A == B:
  print ('Draw')
elif A > B:
  if A == 13 and B == 1:
    print ('Bob')
  else:
    print ('Alice')
else:
  if A == 1 and B == 13:
    print ('Alice')
  else:
    print ('BoB')

Submission status: Wrong Answer

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

if a == 1:
    a = 14
elif b == 1:
    b = 14

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if a==b:
    print('Draw')

elif a==1 or a>b:
    print('Alice')

elif b==1 or a<b:
    print('Bob')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

#print(A,B)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
i = [int(s) for s in input().split()]
alice = i[0]
bob = i[1]

if alice == bob:
    print("draw")
elif alice == 1:
    print("alice")
elif bob == 1:
    print("bob")
elif alice < bob:
    print("bob")
else:
    print("alice")

Submission status: Wrong Answer

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: Wrong Answer

Solution code:
def checkCard(x, y):
  if x == 1 and y == 13:
    return "Alice"
  elif x == 13 and y == 1:
    return "Bob"
  elif x == 1 and y == 1:
    return "Draw"
  else:
    return ""

a, b = map(int, input().split())
result = checkCard(a,b)
if result == "":
  if a > b:
    print("Alice")
  else:
    print("Bob")
    
else:
  print(result)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import string
import collections
from collections import Counter
from collections import deque


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


def nCr(n, r):
    return math.factorial(n)//(math.factorial(n-r)*math.factorial(r))


def has_duplicates2(seq):
    seen = []
    for item in seq:
        if not(item in seen):
            seen.append(item)
    return len(seq) != len(seen)


def divisor(n):
    divisor = []
    for i in range(1, n+1):
        if n % i == 0:
            divisor.append(i)
    return divisor


# coordinates
dx = [-1, -1, -1, 0, 0, 1, 1, 1]
dy = [-1, 0, 1, -1, 1, -1, 0, 1]
ab = readints()
if ab[0] == 1:
    print('Alice')
    exit()
if ab[1] == 1:
    print('Bob')
    exit()
if ab[0] == 1 and ab[1] == 1:
    print('Draw')
    exit()
if ab[0] < ab[1]:
    print('Bob')
    exit()
if ab[0] > ab[1]:
    print('Alice')
    exit()
if ab[0] == ab[1]:
    print('Draw')
#t = list(map(str, input()))
# print(t)
#p_cnt = 0
#d_cnt = 0
# for i in range(len(t)):
#    if t[i] == 'P':
#        p_cnt += 1
#    if t[i] == 'D':
#        d_cnt += 1
# if p_cnt > d_cnt:
#    for i in range(len(t)):
#        if t[i] == '?':
#            if t[i-1] == 'P':
#                t[i] = 'D'
#            if t[i-1] == 'D':
#                t[i] = 'P'
#    tt = ''.join(t)
#    print(tt)
# else:
#    for i in range(len(t)):
#        if t[i] == '?':
#            t[i] = 'D'
#    tt = ''.join(t)
#    print(tt)
#

Submission status: Wrong Answer

Solution code:
import math
import string
import collections
from collections import Counter
from collections import deque


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


def nCr(n, r):
    return math.factorial(n)//(math.factorial(n-r)*math.factorial(r))


def has_duplicates2(seq):
    seen = []
    for item in seq:
        if not(item in seen):
            seen.append(item)
    return len(seq) != len(seen)


def divisor(n):
    divisor = []
    for i in range(1, n+1):
        if n % i == 0:
            divisor.append(i)
    return divisor


# coordinates
dx = [-1, -1, -1, 0, 0, 1, 1, 1]
dy = [-1, 0, 1, -1, 1, -1, 0, 1]
ab = readints()
if ab[0] == 1:
    print('Alice')
    exit()
if ab[1] == 1:
    print('Bob')
    exit()
if ab[0] == 1 and ab[1] == 1:
    print('Draw')
    exit()
if ab[0] < ab[1]:
    print('Bob')
    exit()
if ab[0] > ab[1]:
    print('Alice')
if ab[0] == ab[1]:
    print('Draw')
#t = list(map(str, input()))
# print(t)
#p_cnt = 0
#d_cnt = 0
# for i in range(len(t)):
#    if t[i] == 'P':
#        p_cnt += 1
#    if t[i] == 'D':
#        d_cnt += 1
# if p_cnt > d_cnt:
#    for i in range(len(t)):
#        if t[i] == '?':
#            if t[i-1] == 'P':
#                t[i] = 'D'
#            if t[i-1] == 'D':
#                t[i] = 'P'
#    tt = ''.join(t)
#    print(tt)
# else:
#    for i in range(len(t)):
#        if t[i] == '?':
#            t[i] = 'D'
#    tt = ''.join(t)
#    print(tt)
#