ll n,a[2d5],q,t,v; ll b,s; ll f(ll x,ll y){ s=0; rep(i,max(0,x-24),x){ s+=a[i]; } rep(i,x,min(n,y)){ s+=a[i]; if(i-24>=0) s-=a[i-24]; if(b