You will be given a definition of a task first, then some input of the task.
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.

[30.098, 0.484, 79.679, 189.59, -91.04, -57.099, 18.485, -29.202]
Output:
[ 0.213  0.003  0.565  1.345 -0.646 -0.405  0.131 -0.207]