Definition: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Input: [-21.98, -54.246, 62.344, 93.878, 41.631, 70.048, -89.421, -54.176, 25.603, 8.237]
Output:
[-0.268 -0.662  0.761  1.146  0.508  0.855 -1.092 -0.661  0.313  0.101]