Problem F: 梯形的面积

Memory Limit:128 MB Time Limit:0.000 S
Judge Style:Text Compare Creator:
Submit:128 Solved:80

Description

已知梯形的上底、下底和高,求梯形的面积。

Input

一行,三个整数,分别为梯形的上底、下底和高。

Output

一个整数,即梯形的面积。

Sample Input Copy

8 12 9

Sample Output Copy

90