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.

Q: [-92.516, 245.148, 192.383, 24.265, -87.629, 5.945, -86.275, 165.992]

A: [-0.252  0.667  0.524  0.066 -0.239  0.016 -0.235  0.452]
****
Q: [238.724, 233.675, 143.563, -44.834, 195.138, 129.475, -64.207]

A: [ 0.287  0.281  0.173 -0.054  0.235  0.156 -0.077]
****
Q: [-12.448, -33.021]

A:
[0.274 0.726]
****