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: [70.93, 245.723, 180.253, 229.58, 125.031, 232.278]

Output: [0.065 0.227 0.166 0.212 0.115 0.214]


Input: Consider Input: [240.841, 139.486, 28.367, 224.397, -7.816, 171.664, 120.019]

Output: [ 0.263  0.152  0.031  0.245 -0.009  0.187  0.131]


Input: Consider Input: [-29.044, 117.974, 41.038, 77.013, 213.377, 163.32, 124.106, 130.678]


Output: [-0.035  0.141  0.049  0.092  0.254  0.195  0.148  0.156]