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.

[246.183, 41.271, 148.968]
[0.564 0.095 0.341]

[122.621, 54.698, 245.719, 147.453, 49.487, -4.205, 248.575]
[ 0.142  0.063  0.284  0.171  0.057 -0.005  0.288]

[58.551, -60.935, 230.283, 115.902, -46.408, 157.811, -26.052]

[ 0.136 -0.142  0.537  0.27  -0.108  0.368 -0.061]