# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1122429 | new | scanf 함수 5 (BSC_0_7) | C++20 | 0 ms | 0 KiB |
# Correct implementation
a, b = map(int, input().split())
average = (a + b) / 2
if average.is_integer():
print(int(average))
else:
print(average)