You are given a list of integers. A list is shown by comma-separated numbers between two brackets. For example, [7,3,6] is a list. The number in location one is 7, the number in location two is 3, and the number in location three is 6. You should answer with a list such that every element at each location is equal to the product of elements at every other location in the input array. For example, if a list has four numbers, the answer you give should be created like this: First element of your list = product of second, third, and fourth elements in the given list. Second element of your list = product of First, third and fourth elements in the given list, etc.

Input: Consider Input: [8, 6, 9, 7, 1, 2, 3, 10]

Output: [22680, 30240, 20160, 25920, 181440, 90720, 60480, 18144]


Input: Consider Input: [3, 5, 13, 7, 6, 11, 14, 8]

Output: [3363360, 2018016, 776160, 1441440, 1681680, 917280, 720720, 1261260]


Input: Consider Input: [9, 4, 14, 2, 5, 13, 3, 11]


Output: [240240, 540540, 154440, 1081080, 432432, 166320, 720720, 196560]