#include using namespace std; using ll=long long; int main(){ ll N,K,P; cin>>N>>K>>P; vector A(N),B(N); for(auto&a:A)cin>>a; for(auto&b:B)cin>>b; ranges::sort(B); auto get=[&](ll x){ ll res=0; for(int i=0;i1){ ll md=(ok+ng)/2; if(get(md)>=K) ng=md; else ok=md; } cout<