#include <iostream>
using namespace std;
const int N = 100010;
int a[N],b[N];
int main(){
int n;
cin >> n ;
for(int i = 1; i <= n ; i++) cin >> a[i];
for(int i = 1; i <= n ; i++){
b[i] += a[i];
b[i+1] -=a[i];
}
int l,r,c;
cin>> l >> r >> c;
b[l] +=c;
b[r+1]-=c;
for(int i = 1; i <= n ; i++) b[i]+=b[i-1];
for(int i = 1; i <=n; i++) cout << b[i] << endl;
}