Problem Description

Read n integers. Build a new list of size n-1 where b[i]=a[i]+a[i+1]. Output b (or EMPTY if n

Input Format

First line n. Second line n integers.

Output Format

One line b or EMPTY.

Sample Test Case

Input:
5 1 2 3 4 5
Output:
3 5 7 9

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next