~/algor $ cat problems/massiv-ikki-massiv-yigindisi
Sum of two arrays
Easy
1000 ms
128 MB
24%
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}$$
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