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.

[24.101, 159.95, -98.312, -54.904, 160.352]
[ 0.126  0.837 -0.514 -0.287  0.839]

[181.091, 12.156, 82.607, 167.194, 157.793, 21.726, 115.324, 36.2, 88.41, -65.701]
[ 0.227  0.015  0.104  0.21   0.198  0.027  0.145  0.045  0.111 -0.082]

[-48.221, 149.791, 221.467, 211.787]

[-0.09   0.28   0.414  0.396]

