#include using namespace std; int main(void){ //input int N; cin >> N; int kitai[N]; for (int i = 0; i < N; i++) { cin >> kitai[i]; } int manz[N]; for (int i = 0; i < N; i++) { cin >> manz[i]; } //calc int sum = 0; for (int i = 0; i < N; i++) { if(kitai[i] <= manz[i]) ++sum; } //output cout << sum << endl; }