#include #include #include #include #include #include #include int main(){ int n; int a; int b; int q; scanf("%d %d %d %d",&n,&a,&b,&q); int *c = malloc(sizeof(int) * n); for(int c_i = 0; c_i < n; c_i++){ scanf("%d",&c[c_i]); } for(int a0 = 0; a0 < q; a0++){ int queryType; int first; int second; scanf("%d %d %d",&queryType,&first,&second); if(queryType == 2) printf("Yes"); // your code goes here } return 0; }