Six real numbers x_1, y_1, x_2, y_2, x_3, y_3 are given: the coordinates of the vertices of a triangle.
Find the perimeter and the area of the triangle.

The only line contains six real numbers x_1, y_1, x_2, y_2, x_3, y_3, the coordinates of the triangle's vertices. The absolute value of each number does not exceed .
Print two real numbers: the perimeter and the area of the triangle, separated by a space. Both values must be printed with digits after the decimal point.
Example 1