Q: 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.
[-21.186, 249.198, 161.646, 2.452]
A:
[-0.054  0.636  0.412  0.006]