The first line contains two numbers N and Q.
The second line contains N numbers, the initial values of.
Each of the next Q lines represents an operation.
"C a b c" means adding c to each of
"Q a b" means querying the sum of
You need to answer all Q commands in order. One answer in a line.
The sums may exceed the range of 32-bit integers.