You are given two arrays X and Y of N elements denoting N points on the 2D plane. You are given another array A of N elements denoting the values associated with each point.
You have to find the minimum integer value radius r of a circle with the center (0,0) such that the sum of all the values of nodes within the circle or on the circle is greater than or equal to an integer p.
If any such r does not exist, print -1.
Notes
Input
Output
For each test case in a new line, print the minimum integer value radius r of the required circle.
Constraints
1≤T≤101≤N≤1050≤p≤109−108≤X[i],Y[i]≤1080≤A[i]≤104