Problems

# Green spot

# Green spot

Two triangular projectors form two spots on a wall, one of blue, and second of yellow colour. Find the area of a green spot that is obtained with superposition of two spots and the form (number of vertices) of a green spot.

**Input**

The first line contains the coordinates of the first spot: **x _{11}, y_{11}, x_{12}, y_{12}, x_{13}, y_{13}**, and the second line contains the same vertex coordinates of the second spot

**x**. It is know that

_{21}, y_{21}, x_{22}, y_{22}, x_{23}, y_{23}**-100 ≤ x**.

_{i}, y_{i}≤ 100**Output**

Print **2** numbers, separated with a blank, in one line: the number of vertices in a green spot and its area with two digits after the decimal point.

Input example

2 2 2 6 8 4 5 4 11 6 11 2

Output example

4 1.50