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.627, 196.582]
[-1.007  2.007]

[71.922, -17.185, 217.855, 165.79]
[ 0.164 -0.039  0.497  0.378]

[193.536, 205.671, 235.358, 112.337, 242.381, 31.009, 85.478]

[0.175 0.186 0.213 0.102 0.219 0.028 0.077]