Two distinct points and distinct points are given on the two-dimensional plane. All points are at distinct positions, and no three of them are collinear.
Choose three points with . The positional relationship between the triangle formed by these points and the segment is exactly one of the following four types.
For every triangle that can be formed, count how many triangles have each type of relationship.
The input is given from Standard Input in the following format:
For each test case, print one line containing four integers separated by spaces: the numbers of triangles of Type 1, Type 2, Type 3, and Type 4, in this order.
There is only one triangle in each test case. In input order, the four triangles have Type 1, Type 2, Type 3, and Type 4, respectively.
Each case is given in the following format:
The coordinates of and are and , respectively. The coordinates of are .
| 3 | 55 | No additional constraints. |