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: [52.712, 231.411, 178.973, 4.152]

Output: [0.113 0.495 0.383 0.009]


Input: Consider Input: [-0.147, 182.138, 56.072, 249.521, -37.989, 136.119, 192.618, 151.969]

Output: [-1.580e-04  1.958e-01  6.027e-02  2.682e-01 -4.084e-02  1.463e-01
  2.070e-01  1.634e-01]


Input: Consider Input: [-58.229, 24.947, 49.031, 162.36, 68.346, 142.399, 37.324]


Output: [-0.137  0.059  0.115  0.381  0.16   0.334  0.088]