Problem Description
Given the coordinates of three points , , . Find the area of the right triangle formed by these points.
Input Format
The input contains six values: , , , , , . All values do not exceed in absolute value. It is guaranteed that the segments and are the legs of the triangle.
Output Format
Output the area value rounded to six decimal places.
Examples
Example 1
Input
0 0 3 0 0 4
Output
6
Example 2
Input
-2 0 1 4 2 -3
Output
12.5