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.

[19.162, -0.568, 242.814]
[ 0.073 -0.002  0.929]

[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]

[-83.401, 50.405, 76.016, -44.405, 87.403, -85.954, -25.673, 134.214]

[-0.768  0.464  0.7   -0.409  0.805 -0.791 -0.236  1.236]