#include <bits/stdc++.h> using namespace std; int main() { int n,m; cin>>n; int arr[n]; for(int i =0;i<n;i++)cin>>arr[i]; cin>>m; while(m--){ int temp;cin>>temp; if(find(arr,arr+n,temp)!=arr+n)cout<<"YES"<<...