#include #define REP(i,n) for(int i=0,i##_len=(n);i> N >> K; vector X(N), A(N); REP(i, N) cin >> X[i]; REP(i, N) cin >> A[i]; K--; ll l = X[K] - A[K]; ll r = X[K] + A[K]; int res = 0; int a = K, b = K; while (res