Q: 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.
[12.754, 15.008, 122.183, -74.275, 73.156, 217.398, 151.299, -35.736]
A:
[ 0.026  0.031  0.254 -0.154  0.152  0.451  0.314 -0.074]