728x90
반응형
SMALL
a = int(input())
b = int(input())
print(b+(b-a) if b>a else a+(a-b))
728x90
반응형
LIST
'백준문제 > 브론즈 4' 카테고리의 다른 글
백준) 10039번 - python (0) | 2024.04.05 |
---|---|
백준) 9316번 - python (0) | 2024.04.04 |
백준) 5717번 - python (0) | 2024.04.02 |
백준) 5596번 - python (0) | 2024.04.02 |
백준) 9316번 - python (0) | 2024.04.01 |