The surface area of the pyramid 2#954

The surface area of the pyramid 2

1 second
64 megabytes
Very easy

Determine the lateral surface area of a right truncated square pyramid with base sides , and height .

Input

A single line contains the integers , , and  (1 \leq a, b, h \leq 100), separated by spaces.

Output

Output the lateral surface area, rounded to two decimal places.

Examples

Example 1

Loading
Loading