#CCBCHBAHAI0000137. Tích hai mảng theo từng vị trí (Elementwise Product of Two Arrays)

Tích hai mảng theo từng vị trí (Elementwise Product of Two Arrays)

Elementwise Product of Two Arrays

Source: Problem Solving and Program Design in C

Version: Phuoc Hung OJ Extended

Problem Statement

Given two integer arrays X=(x0,x1,…,xn−1)X=(x_0,x_1,\ldots,x_{n-1}) and Y=(y0,y1,…,yn−1)Y=(y_0,y_1,\ldots,y_{n-1}) of equal length, compute their elementwise product:

zi=xi⋅yi,0≤i<n.z_i=x_i\cdot y_i,\qquad 0\le i<n.

Print the full array Z=(z0,z1,…,zn−1)Z=(z_0,z_1,\ldots,z_{n-1}).

Input

  • The first line contains nn.
  • The second line contains the nn integers of XX.
  • The third line contains the nn integers of YY.

Output

Print one line containing z0,z1,…,zn−1z_0,z_1,\ldots,z_{n-1} separated by single spaces.

Subtasks

Subtask 1 (100 points): 1≤n≤1051\le n\le10^5, ∣xi∣≤109|x_i|\le10^9, and ∣yi∣≤109|y_i|\le10^9. Every product fits in signed 64-bit long long.

Examples

Input

5
2 -3 4 0 10
5 2 -1 7 -2

Output

10 -6 -4 0 -20

Explanation

The corresponding products are 2⋅5=102\cdot5=10, (−3)⋅2=−6(-3)\cdot2=-6, 4⋅(−1)=−44\cdot(-1)=-4, 0⋅7=00\cdot7=0, and 10⋅(−2)=−2010\cdot(-2)=-20.