IntermediateRating 1300
Product of the Others
For each position print the product of all other elements (without division).
Input
n, then n integers.
Output
One line.
Sample 1
Input
4 1 2 3 4
Output
24 12 8 6
Sample 2
Input
2 5 0
Output
0 5
Output appears here