#include using namespace std; struct pos{ int x,y; }; pos pc[100001]; int n,k,i,r[100001],j,ans[100001],indx,tr[100001]; long double s[100001],tt,mt=LONG_MAX*1.0,tp,t; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); freopen("runners.in","r",stdin); freopen("runners.out","w",stdout); cin>>n>>k; for(i=1;i<=k;i++) cin>>s[i]; for(i=1;i<=n;i++) cin>>pc[i].x>>pc[i].y; for(i=1;i<=k;i++) tr[i]=i; do{ //for(i=1;i<=k;i++) cout<