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.

[242.579, 120.747]
[0.668 0.332]

[102.757, 23.602, 40.339, 178.401, 71.405, 82.184, 77.393]
[0.178 0.041 0.07  0.31  0.124 0.143 0.134]

[219.696, 113.795, 225.698, 165.323, 210.096, 228.349, 96.714, -54.706, 57.219, 240.651]

[ 0.146  0.076  0.15   0.11   0.14   0.152  0.064 -0.036  0.038  0.16 ]

