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.
One example: [1, 2, 3]
Solution is here: [0.167, 0.333, 0.500]
Explanation: The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example.

Now, solve this: [142.094, 21.166, 244.17, -54.737, -91.396, 195.737, -91.844, 185.785, 89.185, 243.103]
Solution:
[ 0.161  0.024  0.276 -0.062 -0.103  0.222 -0.104  0.21   0.101  0.275]