#include #define all(v) (v).ibegin(),(v).end() #define ssum(v) accumulate(all(v),0) #define mmax(v) *max_element(all(v)) #define mmin(v) *min_element(all(v)) #define st(v) sort((v).begin(),(v).end()) #define rst(v) sort((v).rbegin(),(v).rend()) #define ll long long #define ull unsigned long long #define OVERLOAD_REP(_1, _2, _3, name, ...) name #define rrep(i,n) for(int i=1;i<=n;i++) #define REP1(i, n) for (auto i = std::decay_t{}; (i) != (n); ++(i)) #define REP2(i, l, r) for (auto i = (l); (i) != (r); ++(i)) #define rep(...) OVERLOAD_REP(__VA_ARGS__, REP2, REP1)(__VA_ARGS__) using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int cnt=0; int n;cin>>n; vectora(n),b(n); rep(i,n)cin>>a[i]; rep(i,n)cin>>b[i]; rep(i,n){ if(a[i]<=b[i])cnt++; } cout<