Beakjoon&프로그래머스/파이썬
[백준/파이썬] 5691번 평균 중앙값 문제
현장
2022. 6. 22. 14:50
-Code
while 1:
a, b = map(int, input().split())
if a == b == 0:
break
res = a * 2 - b
print(res)