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: Consider Input: [224.19, -13.723, 196.624, 0.943, -21.431, -24.617, 129.254, 77.367]

Output: [ 0.394 -0.024  0.346  0.002 -0.038 -0.043  0.227  0.136]


Input: Consider Input: [162.199, -62.159, 14.692, -32.92, -96.917, -84.555, 190.134, 154.348]

Output: [ 0.663 -0.254  0.06  -0.134 -0.396 -0.345  0.777  0.63 ]


Input: Consider Input: [221.151, 9.165, 71.851, 174.244, 183.043, 82.189, -62.481]


Output: [ 0.326  0.013  0.106  0.257  0.27   0.121 -0.092]