#include using namespace std; using ll=long long; using ld=long double; using P=pair; using V=vector; #define rep(i,n) for(int i=0;i> n >> x >> m; V a(n); rep(i,n) cin >> a[i]; V b(n); rep(i,n){ while(x