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: [-19.505, 172.547, 187.959, -16.536, 181.804, 16.93, 130.628, 16.194]
Output:
[-0.029  0.258  0.281 -0.025  0.271  0.025  0.195  0.024]