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: [121.665, 129.058, -26.583, 156.198]

Output: [ 0.32   0.339 -0.07   0.411]


Input: Consider Input: [-18.717, 162.22]

Output: [-0.13  1.13]


Input: Consider Input: [148.561, 133.138, 17.251, 94.879, -66.555, -50.031, -51.066, 104.028]


Output: [ 0.45   0.403  0.052  0.287 -0.202 -0.152 -0.155  0.315]