a, b = map(int,input().split())
S = a+b
print(S//2 if S%2==0 else S/2)
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
24 ms |
3300 KB |
Output is correct |
2 |
Correct |
24 ms |
3300 KB |
Output is correct |
3 |
Correct |
24 ms |
3300 KB |
Output is correct |
4 |
Correct |
24 ms |
3300 KB |
Output is correct |
5 |
Correct |
25 ms |
3300 KB |
Output is correct |
6 |
Correct |
24 ms |
3300 KB |
Output is correct |
7 |
Correct |
24 ms |
3300 KB |
Output is correct |
8 |
Correct |
24 ms |
3304 KB |
Output is correct |
9 |
Correct |
25 ms |
3300 KB |
Output is correct |
10 |
Correct |
24 ms |
3300 KB |
Output is correct |