#include #include #include #include #include using namespace std; typedef long long int ll; int main() { ll n,qa,qb,test; cin>>n>>qa>>qb>>test; vectorvec(n); for(int i=0;i>vec[i]; while(test--){ ll type,a,b; cin>>type>>a>>b; ll cnt=qa+qb,sum=0; if(type==2){ for(int i=0;i