Problem Statement 
 There is a square on a plane with (0,0) as its lower left and (2^N+2, 2^N+2) as its upper right corner. It is known that K distinct points have to be painted. Each of them should be strictly inside the square and should have integral coordinates. The first point to be painted is always (1,1). For each of the next points, the one from which the Euclidean distance to the closest already painted point is maximum should be chosen. In case of ties, the leftmost point should be painted. If there are still several possibilities, the lowermost point is chosen. Return int[] with exactly two elements, the X and Y coordinates of the Kth point to be painted. 

Definition 
 Class:  DistantPoints  Method:  getKth  Parameters:  int, int  Returns:  int[]  Method signature:  int[] getKth(int N, int K)  (be sure your method is public) 




Notes 
  The Euclidean distance between two points (x1,y1) and (x2,y2) is equal to the square root of (x1x2)^2+(y1y2)^2. 

Constraints 
  N will be between 2 and 10, inclusive. 
  K will be between 1 and the amount of points inside the square with side length 2^N+2, inclusive. 

Examples 
0)  
  Returns: {17, 17 }  The square stretches from (0,0) to (18,18). After you paint (1,1), the farthest point within the square is (17,17). 


1)  
  Returns: {1, 17 }  Now there are two candidates. Both upperleft and bottomright points within the square are equally distant from the already painted two, so we choose the leftmost one. 


2)  
  Returns: {9, 9 }  After you paint all the corners, the best choice is the center of the square. 


3)  
 
4)  
 