Run ID:90575

提交时间:2024-09-15 19:45:12

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