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.

Ex Input:
[10.415, 115.448, 48.253, -29.927, -99.808, 100.066, 210.071, 233.739, 247.704]

Ex Output:
[ 0.012  0.138  0.058 -0.036 -0.119  0.12   0.251  0.28   0.296]


Ex Input:
[164.913, 23.319, -37.919, -93.113, -51.549, 235.547, -31.47, -23.528, 166.323]

Ex Output:
[ 0.468  0.066 -0.108 -0.264 -0.146  0.668 -0.089 -0.067  0.472]


Ex Input:
[23.333, -40.91, 219.818, -50.822, -26.168, 119.41, -43.793, 114.042]

Ex Output:

[ 0.074 -0.13   0.698 -0.161 -0.083  0.379 -0.139  0.362]