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]

[142.576, -28.093, 114.526]
[ 0.623 -0.123  0.5  ]

[82.243, 236.363, 26.678, 126.01, -16.893, 30.504, -95.53, 112.679]

[ 0.164  0.471  0.053  0.251 -0.034  0.061 -0.19   0.224]