#include using namespace std; using ll = long long; template using vec = vector; template using vvec = vector>; template using vvvec = vector>; int main(){ cin.tie(0); ios::sync_with_stdio(false); int N; cin >> N; vec A(N),B(N); for(auto& x:A) cin >> x; for(auto& x:B) cin >> x; int ans = 0; for(int l=0;l