Detailed 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.
Problem:[-29.178, -91.037, 114.487, 67.458, -77.816]
Solution:
[ 1.814  5.659 -7.117 -4.194  4.837]