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: [195.552, -90.152, -77.932, 27.801, 168.474, 164.978, 19.392, 46.21, 0.298]
Output:
[ 0.43 -0.198 -0.171 0.061 0.371 0.363 0.043 0.102 0.001]