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.

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

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


Ex Input:
[-1.647, 49.711]

Ex Output:
[-0.034  1.034]


Ex Input:
[-96.341, -77.748, 168.25, -26.397, -33.939, 11.08, 209.934, 249.237, -21.583]

Ex Output:

[-0.252 -0.203  0.44  -0.069 -0.089  0.029  0.549  0.652 -0.056]