eolymp
bolt
Try our new interface for solving problems
Problems

The surface area of the pyramid

The surface area of the pyramid

Find the total surface area of the regular square pyramid with base length a and height h.

Input

One line contains the base length a and height of pyramid h. All input data are integers, not exceeding 100.

Output

Print the total surface area of the regular square pyramid.

Time limit 1 second
Memory limit 128 MiB
Input example #1
20 10
Output example #1
965.7