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: [5.521, 140.017, 56.833, -17.666, -68.164, 191.11, 234.258, 170.514, 46.058, 174.276]
Output:
[ 0.006  0.15   0.061 -0.019 -0.073  0.205  0.251  0.183  0.049  0.187]