Q: 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.
[50.104, 0.303, 47.67, 66.83, 241.066, -45.395, -45.881, -30.852]
A:
[ 0.177  0.001  0.168  0.235  0.849 -0.16  -0.162 -0.109]