#include using namespace std; int main() { long int n,a,b,q,i,t,l,r; cin>>n>>a>>b>>q; long int ar[n+2]; for(i=0;i>ar[i]; //int t,l,r; while(q--) { cin>>t>>l>>r; if(t==2) cout<<"Yes"<