You are given an array A having N integers. You take an array B of length N such that Bi=0 for all 1≤i≤N. You perform Q operations of the following two types:
Print the elements of the array B after Q operations.
Input format
Output format
Print N integers B1,B2,…,BN, denoting elements of the array B after Q operations.
Constraints
1≤N,Q≤2⋅1051≤Ai,X≤1051≤Li≤Ri≤N
After the first operation, A becomes [3,2+1,6+1,1,3]=[3,3,7,1,3].
After the second operation, B becomes[0,0,0+7,0+1,0+3]=[0,0,7,1,3].
After the third operation, A becomes [3+3,3+3,7+3,1+3,3]=[6,6,10,4,3].
After the fourth operation, A becomes [6+,6+6,10,4,3]=[12,12,10,4,3].
After the fifth operation, B becomes[0+12,0+12,7+10,1+4,3]=[12,12,17,5,3].