Area and volume of the pyramid#948

Area and volume of the pyramid

1 second
128 megabytes
Very easy

Given a regular quadrilateral pyramid with base side and lateral edge , determine the total surface area and volume of the pyramid.

Input

The single line contains two integers separated by a space: the base side and the lateral edge . The input values do not exceed .

Output

Output the required total surface area and volume, separated by a space. The answer must be given to three decimal places.

Examples

Example 1

Loading
Loading