a=(input().split(' ')) z=(0.5*int(a[0])*int(a[2]))+((0.5*int(a[1])*int(a[2]))) print(int(z))