Given an array consisting of integers. write program, which will get sum of elements a[i], where i
(l ⩽ i ⩽ r).
input
the first line contains three integers n, l, r, (1 ⩽ n ⩽ 105
, 1 ⩽ l ⩽ r ⩽ n) — array size and integrals. the
next line contains n integers ai (1 ⩽ ai ⩽ 109
) — elements of array.
output
sum of elements.