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.

[98.788, -10.935, 154.847, 241.275, 14.539]
[ 0.198 -0.022  0.311  0.484  0.029]

[-46.5, 4.215, 105.396, 76.508]
[-0.333  0.03   0.755  0.548]

[-71.132, 105.021, 187.869, 186.196, 79.916, 140.699, -23.535, 83.557, -25.901, -58.718]

[-0.118  0.174  0.311  0.308  0.132  0.233 -0.039  0.138 -0.043 -0.097]

