#include #include using namespace std; using ll=long long; constexpr int MOD=998244353; #define rep(i,n) for(int i=0;i<(int)(n);i++) #define replr(i,l,r) for(int i=(l);i<(int)(r);i++) int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); int N,M; cin>>N>>M; vector A(N,0ll),B(M,0ll); for(ll &i:A)cin>>i,i/=100; for(ll &i:B)cin>>i; sort(A.begin(),A.end()); for(ll &i:B)i=100-i; while(B.size()