Skip to main content
LIVE CONTEST: ALGOR Contest: Round #4 (Special Challenge) is live now!

~/algor $ cat problems/massiv-ikki-massiv-yigindisi

Sum of two arrays

Easy 1000 ms 128 MB 24%
Share

Two integer arrays $a$ and $b$ of the same length are given. For every $i$ ($1 \le i \le n$), compute their sum:

$$c_{i} = a_{i} + b_{i}$$

Element-wise addition of two arrays of the same length

Input

The first line contains a positive integer $n$. The second line contains the $n$ integers of the array $a$. The third line contains the $n$ integers of the array $b$.

Output

One line with $n$ integers separated by spaces.

Note

$1 \le n \le 10^{4}$
$-1000 \le a_{i}, b_{i} \le 1000$

Examples

Input #1
3
1 2 3
10 20 30
Output #1
11 22 33
Input #2
2
-1 5
1 -5
Output #2
0 0

Sign in to submit a solution

Signing up is free and takes a minute.