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 PYTHON3):

Solution:
#Древнеберляндский цирк
import math
grad = [360 / k for k in range(3, 101)]

def opr_seredini(fir, sec):
	return [(fir[0] + sec[0]) / 2, (fir[1] + sec[1]) / 2]

def k_perpend(fir, sec):
	if fir[0] == sec[0]:
		return 0
	elif fir[1] == sec[1]:
		return 'Вертикаль'
	else:
		return -1 / ((fir[1] - sec[1]) / (fir[0] - sec[0]))

def opr_c(k, tch):
	if k == 'Вертикаль':
		return tch[0]
	else:
		return tch[1] - k * tch[0]

def center(pryamaya_1, pryamaya_2):
	if pryamaya_1[0] == 'Вертикаль':
		return [pryamaya_1[1], pryamaya_2[0] * pryamaya_1[1] + pryamaya_2[1]]
	elif pryamaya_2[0] == 'Вертикаль':
		return [pryamaya_2[1], pryamaya_1[0] * pryamaya_2[1] + pryamaya_1[1]]
	else:
		x = (pryamaya_2[1] - pryamaya_1[1]) / (pryamaya_1[0] - pryamaya_2[0])
		y = pryamaya_1[0] * x + pryamaya_1[1]
		return [x, y]

def ugol(cen, u1, u2):
	a = 0
	v1 = [u1[0] - cen[0], u1[1] - cen[1]]
	v2 = [u2[0] - cen[0], u2[1] - cen[1]]
	dl1 = math.sqrt((v1[0]**2 + v1[1]**2))
	dl2 = math.sqrt((v2[0]**2 + v2[1]**2))
	try:
		ug = math.degrees(math.acos(((v1[0] * v2[0]) + (v1[1] * v2[1])) / (dl1 * dl2)))
		return [ug,dl1]
	except: return [180.0,dl1]
	

def plosh(ug,dlin,kolvo_ug):
	#print('ug _ ' + str(ug) + ' ___ ' + 'dlin _ ' + str(dlin) + ' ___ ' + 'kolvo ug _ ' + str(kolvo_ug))
	return round(0.5 * dlin * dlin * math.sin(math.radians(ug)) * kolvo_ug,6)

first = input().split()
first = list(map(float, first))
second = input().split()
second = list(map(float, second))
third = input().split()
third = list(map(float, third))

ser1 = opr_seredini(first, second)
ser2 = opr_seredini(second, third)
k1 = k_perpend(first, second)
k2 = k_perpend(second, third)
c1 = opr_c(k1, ser1)
c2 = opr_c(k2, ser2)
cent = center([k1, c1], [k2, c2])
ug = ugol(cent, first, second)
dl = ug[1]
ugo1 = ug[0]
ugo2 = ugol(cent, second, third)[0]
ugo3 = ugol(cent, first, third)[0]

for k in range(98):
	if round(ugo1/grad[k],5).is_integer() and round(ugo2/grad[k],5).is_integer() and round(ugo3/grad[k],5).is_integer():
		print('%.6f' % (plosh(grad[k], dl, k+3)))
		break