The first line contains six integers n,r1,r2,R,x0,y0(1≤n≤1000,1≤r1,r2,R≤109,−109≤x,y≤109), where n denotes the number of other units, r1,r2 and R are the three parameters, (x0,y0) denotes the initial position P of Faceless Void.
Then a line containing n integers a1,a2,…,an(−109≤ai≤109) follows, denoting the scores of each unit.
Then n lines follow. The i-th (1≤i≤n) line contains two integers xi,yi(−109≤xi,yi≤109), denoting the position QiQ_iQi of the i-th unit. It is guaranteed that Qi are pairwise distinct.