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.

[238.724, 233.675, 143.563, -44.834, 195.138, 129.475, -64.207]
[ 0.287  0.281  0.173 -0.054  0.235  0.156 -0.077]

[-99.405, 166.036, 167.552, -23.626, 247.539, 11.298]
[-0.212  0.354  0.357 -0.05   0.527  0.024]

[162.658, 243.212, 124.278, -33.381, 190.554, 72.867, -13.256, -76.305, 107.712]

[ 0.209  0.312  0.16  -0.043  0.245  0.094 -0.017 -0.098  0.138]