Run ID:91449

提交时间:2024-09-21 19:35:19

n=input().split() a=n[0] b=n[1] d=n[2] a=int(a) b=int(b) d=int(d) c=(a+b)*d//2 print(c)