The surface area of the cone#960

The surface area of the cone

1 second
64 megabytes
Very easy

Calculate the total surface area of a truncated cone, given the base radii , , and height .

Input

A single line contains the base radii , , and height separated by spaces. All input values are integers not exceeding .

Output

Print the total surface area of the truncated cone in a single line. Output the result to two decimal places.

Examples

Example 1

Loading
Loading