Instructions: 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.
Input: [27.0, -67.331, 148.479, 212.478, 83.204, 184.995, -78.713, 231.503, 139.485]
Output:
[ 0.031 -0.076  0.169  0.241  0.094  0.21  -0.089  0.263  0.158]