#include #include #include #include #include #include using namespace std; int main() { time_t t; /* Intializes random number generator */ srand((unsigned) time(&t)); int n,a,b,q; cin>>n>>a>>b>>q; while(n--) cin>>a; int x,y,z; while(q--) { cin>>x>>y>>z; if(x==2) { if(rand ()%2) cout<<"Yes"<