#D6022. Incircle of a Triangle
Incircle of a Triangle
Incircle of a Triangle
Write a program which prints the central coordinate (,) and the radius of a incircle of a triangle which is constructed by three points (, ), (, ) and (, ) on the plane surface.
Constraints
- The three points are not on the same straight line
Input
The input is given in the following format
All the input are integers.
Output
Print , and separated by a single space in a line. The output values should be in a decimal fraction with an error less than 0.000001.
Examples
Input
1 -2 3 2 -2 0
Output
0.53907943898209422325 -0.26437392711448356856 1.18845545916395465278
Input
0 3 4 0 0 0
Output
1.00000000000000000000 1.00000000000000000000 1.00000000000000000000
inputFormat
Input
The input is given in the following format
All the input are integers.
outputFormat
Output
Print , and separated by a single space in a line. The output values should be in a decimal fraction with an error less than 0.000001.
Examples
Input
1 -2 3 2 -2 0
Output
0.53907943898209422325 -0.26437392711448356856 1.18845545916395465278
Input
0 3 4 0 0 0
Output
1.00000000000000000000 1.00000000000000000000 1.00000000000000000000
样例
0 3
4 0
0 0
1.00000000000000000000 1.00000000000000000000 1.00000000000000000000