1
|
A, B= map(int, input().split())
#가위 1 바위 2 보 3
if (A==1 and B==2):
print("B")
elif (A==3 and B==1):
print("B")
elif (A==2 and B==3):
print("B")
else:
print("A")
|
cs |
'Algorithm > SWEA' 카테고리의 다른 글
[SWEA] 2025: N줄 덧셈 (python) (0) | 2022.07.04 |
---|---|
[SWEA] 2019: 더블더블 (python) (0) | 2022.07.04 |
[SWEA] 1938: 아주 간단한계산기 (python) (0) | 2022.07.04 |
[SWEA] 1933: 간단한수 N의 약수 (python) (0) | 2022.07.04 |
[SWEA] 1545: 거꾸로 출력 (python) (0) | 2022.07.04 |