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.

[47.126, 25.781]
[0.646 0.354]

[108.257, 91.774, -97.879, 87.142, 84.885, 36.482, -60.727]
[ 0.433  0.367 -0.392  0.349  0.34   0.146 -0.243]

[107.966, 89.033, 157.307, 22.494, 71.507, 81.33, -40.282]

[ 0.221  0.182  0.321  0.046  0.146  0.166 -0.082]