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.

[234.403, 65.141]
[0.783 0.217]

[166.754, 127.664, 16.508, -86.602, -58.491, -6.352]
[ 1.046  0.8    0.104 -0.543 -0.367 -0.04 ]

[94.618, -18.983, 0.227, -57.898, 73.548, 121.468, 54.447, -90.312, 244.533, 99.395]

[ 1.816e-01 -3.643e-02  4.357e-04 -1.111e-01  1.412e-01  2.331e-01
  1.045e-01 -1.733e-01  4.693e-01  1.908e-01]