Definition: 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: [151.197, 61.474, 97.406, -20.167, 154.311, -22.722, 92.837, 20.814]

[ 0.283  0.115  0.182 -0.038  0.288 -0.042  0.173  0.039]