#ABC473A. 后半段求和 / Second Half Sum
后半段求和 / Second Half Sum
Problem Statement
You are given an integer sequence of length : . Here, is even. Find the sum of the latter half of , that is, the sum of .
Constraints
- All input values are integers.
- is an even number satisfying .
Input
The input is given from Standard Input in the following format:
Output
Output the answer.
8
1 3 7 8 4 2 5 6
17
The length of the sequence is , and you should find the sum of . Since , output .
2
1 100
100
10
31 41 59 26 53 58 97 93 23 84
355
- Source: AtCoder ABC 473 A
相关
在下列比赛中: