There are a number of objects in the sky. Each is moving at a constant velocity, and appears as a dot on the screen that appears in a different position every time the antenna observes it. Your task is to determine where the dot will appear on the screen the next time the antenna observes it, given the previous two observations. If there are several possibilities, you are to find them all.
The input consists of a number of lines, each with four real numbers: a1, d1, a2, d1. a1, d1 are the angle (in degrees) and distance (in arbitrary distance units) for the first observation while a2, d2 are the angle and distance for the second observation.
The output consists of one line per line of input, containing all posible solutions; each solution consists of two real numbers (with two digits after the decimal place) indicating a3, d3, the angle and distance for the next observation.
90.0 100.0 90.0 110.0 90.0 100.0 270.0 10.0 90.0 100.0 180.0 50.0
90.00 120.00 270.00 230.00 270.00 83.33 199.93 64.96 223.39 130.49