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: [148.764, 144.152, -67.79, 196.955, 133.537, 132.805]

Output: [ 0.216  0.209 -0.098  0.286  0.194  0.193]


Input: Consider Input: [-98.627, 196.582]

Output: [-1.007  2.007]


Input: Consider Input: [164.913, 23.319, -37.919, -93.113, -51.549, 235.547, -31.47, -23.528, 166.323]


Output: [ 0.468  0.066 -0.108 -0.264 -0.146  0.668 -0.089 -0.067  0.472]