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: Consider Input: [128.101, 16.516, 246.993, 104.335, -69.747, 238.429, -26.383]

Output: [ 0.201  0.026  0.387  0.163 -0.109  0.374 -0.041]


Input: Consider Input: [-47.47, -20.769, 247.392, 45.36, 8.298, -8.737, -31.714, 35.167]

Output: [-0.209 -0.091  1.087  0.199  0.036 -0.038 -0.139  0.155]


Input: Consider Input: [87.487, 27.095, 27.812]


Output: [0.614 0.19  0.195]