Two goats are each tethered to a stake with a rope, allowing each to move in a circle with the rope fully extended.
Your task is to determine all the points where the goats can meet.
The input consists of two lines. Each line contains three integers: the coordinates of the stake ( and ) to which a goat is tied, and the length of the rope . All values are integers with absolute value at most , and the rope lengths are positive.
Print the number of intersection points on the first line: , , , or if there are infinitely many. If there is one intersection point, print its coordinates on the second line. If there are two intersection points, print their coordinates in lexicographical order—that is, print first the point with the smaller coordinate, and if the coordinates are equal, then the one with the smaller coordinate. All numbers must be printed with a precision of at least decimal places.
Example 1