Beakjoon&프로그래머스/파이썬

[백준/파이썬] 27225번 Класс

현장 2023. 10. 28. 17:14

-Code

n = int(input())
m = int(input())

print(min(n, m) * 2 + ((n + m) & 1))