#include #include #include #include #include using namespace std; int c[100005]; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ string s[2]; s[0]="No"; s[1]="Yes"; int n,a,b,q; srand(time(NULL)); cin>>n>>a>>b>>q; for(int i=1;i<=n;i++) cin>>c[i]; while(q--) { int ty,l,r; cin>>ty>>l>>r; if(ty==2) { cout<