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: [234.91, -62.765, 86.311, 10.097, -10.32, 3.969, 166.855, 42.251]
Output:
[ 0.498 -0.133  0.183  0.021 -0.022  0.008  0.354  0.09 ]