Input
The input of the program includes the content of the memory of the droids following this structure twice (one per each droid):
Droid name; Number of pair of galactic Cartesian coordinates
First pair of galactic Cartesian coordinates separated by space
Second pair of galactic Cartesian coordinates separated by space
…
Nth pair of galactic Cartesian coordinates separated by space
Output Just the pair of galactic Cartesian coordinates where Luke can be found with accuracy of one decimal.
Input
R2-D2; 4 5.0 9.0 9.0 3.0 2.0 0.0 8.0 4.0 BB-8; 6 7.0 4.0 9.0 10.0 1.0 9.0 8.0 2.0 10.0 10.0 9.0 6.0
Output
7.5 4.0