#include using namespace std; int main(){ int n,a[n],b[n]; cin >> n; for(int i=0;i> a[i]; } for(int i=0;i> b[i]; } int k=0,l=0; for(int i=0;i=l?"YES":"NO")<