Back to 254271 Fun (2562 Sec 1&2) - Mini Test 1

Write a program that adds two vectors of any dimension `d`

.

The first line of the input contains the integer `d`

. The remaining `d`

lines each contain 2 integers, the first column is vector 1 and the second column is vector 2.

The output contains vector 1, vector 2 and the result of adding the vectors. The + and = should be on the last line of the output.

Input

2 1 2 3 4

Output

[ 1 ] [ 2 ] [ 3 ] [ 3 ] + [ 4 ] = [ 7 ]

Input

3 1 3 1 4 2 4

Output

[ 1 ] [ 3 ] [ 4 ] [ 1 ] [ 4 ] [ 5 ] [ 2 ] + [ 4 ] = [ 6 ]