Problem: Nowadays all circuses in Berland have a round arena with diameter 13 meters, but in the past things were different.

In Ancient Berland arenas in circuses were shaped as a regular (equiangular) polygon, the size and the number of angles could vary from one circus to another. In each corner of the arena there was a special pillar, and the rope strung between the pillars marked the arena edges.

Recently the scientists from Berland have discovered the remains of the ancient circus arena. They found only three pillars, the others were destroyed by the time.

You are given the coordinates of these three pillars. Find out what is the smallest area that the arena could have.

Input

The input file consists of three lines, each of them contains a pair of numbers –– coordinates of the pillar. Any coordinate doesn't exceed 1000 by absolute value, and is given with at most six digits after decimal point.

Output

Output the smallest possible area of the ancient arena. This number should be accurate to at least 6 digits after the decimal point. It's guaranteed that the number of angles in the optimal polygon is not larger than 100.

Examples

Input

0.000000 0.000000
1.000000 1.000000
0.000000 1.000000


Output

1.00000000

Solution (in PYTHON):

Solution:
#!/usr/bin/env python

import math

def d(a, b, x, y):
  return math.sqrt((a-x)**2+(b-y)**2)

def b(a, b):
  return math.sqrt(a**2+b**2)

temp = raw_input().split()
ax, ay = float(temp[0]), float(temp[1])
temp = raw_input().split()
bx, by = float(temp[0]), float(temp[1])
temp = raw_input().split()
cx, cy = float(temp[0]), float(temp[1])

eps = 0.00001

TA = 1.0/2 *abs(ax*by+bx*cy+cx*ay-cx*by-ax*cy-bx*ay)

R = d(ax, ay, bx, by)*d(ax, ay, cx, cy)*d(bx, by, cx, cy)/(4*TA)

#ox, oy = (ax+bx+cx)/3, (ay+by+cy)/3  center of the triangle and not the circle

abx, aby = (ax+bx)/2, (ay+by)/2

dist = math.sqrt(R**2-d(ax, ay, abx, aby)**2)
B = math.pi/2-math.atan((by-ay)/(bx-ax))
if abs(d(abx+dist*math.cos(B),aby+dist*math.sin(B),cx,cy)-R) < eps:
  ox, oy = abx+dist*math.cos(B), aby+dist*math.sin(B)
elif abs(d(abx-dist*math.cos(B),aby-dist*math.sin(B),cx,cy)-R) < eps:
  ox, oy = abx-dist*math.cos(B), aby-dist*math.sin(B)
elif abs(d(abx+dist*math.cos(B),aby-dist*math.sin(B),cx,cy)-R) < eps:
  ox, oy = abx+dist*math.cos(B), aby-dist*math.sin(B)
elif abs(d(abx-dist*math.cos(B),aby+dist*math.sin(B),cx,cy)-R) < eps:
  ox, oy = abx-dist*math.cos(B), aby+dist*math.sin(B)
else:  print "blabla"








ax, ay = ax-ox, ay-oy
bx, by = bx-ox, by-oy
cx, cy = cx-ox, cy-oy

#print ox, oy

#print b(ax, ay)
#print b(bx, by)
#print b(cx, cy)

#print TA
#print R

#print ax, ay, bx, by, cx, cy

for i in range(3,101):
  angle = 2*math.pi/i
  good = 1
  for j in range(1,i):
    tx, ty = ax*math.cos(angle*j)-ay*math.sin(angle*j), ax*math.sin(angle*j)+ay*math.cos(angle*j)
    if abs(tx-bx) < eps and abs(ty-by) < eps:
      good += 1
    if abs(tx-cx) < eps and abs(ty-cy) < eps:
      good += 1
  if good > 3:
    print 'blabla'
    break
  if good == 3:
    print R*math.sin(angle/2)*R*math.cos(angle/2)*i
    break