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: [14, 11, 10, 1, 12, 6, 7, 2]

Output: [110880, 141120, 155232, 1552320, 129360, 258720, 221760, 776160]


Input: Consider Input: [6, 0, 2, 5, 4, 12, 11, 9]

Output: [0, 285120, 0, 0, 0, 0, 0, 0]


Input: Consider Input: [9, 12, 8, 0, 10, 3, 7, 14]


Output: [0, 0, 0, 2540160, 0, 0, 0, 0]