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.

[50.788, 1.827, 168.905, 31.33]
[0.201 0.007 0.668 0.124]

[116.5, 164.064, -75.34, -59.637, 248.341, -47.273, 214.963, 188.896, 159.124, -5.386]
[ 0.129  0.181 -0.083 -0.066  0.275 -0.052  0.238  0.209  0.176 -0.006]

[143.145, -68.215, 183.151, 231.991, 118.668, 65.271, -30.662, 223.135]

[ 0.165 -0.079  0.211  0.268  0.137  0.075 -0.035  0.258]