#include using namespace std; #define ll long long #define pb push_back #define rep(i,n) for(int i=0;i>t; std::vector v(t),s(t); rep(i,t){ cin>>v[i]; } rep(i,t){ cin>>s[i]; } int coun =0; rep(i,t){ if(v[i] <= s[i]){ coun++; } } cout << coun; } int main() { #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); freopen("Error.txt", "w", stderr); #endif ios::sync_with_stdio(false); cin.tie(0); solve(); return 0; }