728x90
import math
A_attack, A_life = map(int,input().split())
B_attack, B_life = map(int,input().split())
A_result = math.ceil(A_life/B_attack)
B_result = math.ceil(B_life/A_attack)
if A_result > B_result:
print("PLAYER A")
elif B_result > A_result:
print("PLAYER B")
else:
print("DRAW")
'백준 > Bronze 3' 카테고리의 다른 글
백준 14909 파이썬 (0) | 2021.01.18 |
---|---|
백준 15820 파이썬 (0) | 2021.01.18 |
백준 13698 파이썬 (0) | 2021.01.18 |
백준 9517 파이썬 (0) | 2020.12.30 |
백준 3028 파이썬 (0) | 2020.12.30 |