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: [43.497, 175.015, -29.757, -4.988, 93.79, -94.224, 213.645, -96.104, 3.941]
Output:
[ 0.143  0.574 -0.098 -0.016  0.308 -0.309  0.701 -0.315  0.013]