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: [103.286, -45.97, 115.495, 210.558, -96.143, 165.996, -86.865, -78.029]

A: [ 0.358 -0.159  0.401  0.73  -0.333  0.576 -0.301 -0.271]
****
Q: [93.097, 66.79, 174.361, 219.568, -83.985, -25.75, 178.751, -97.555, 91.928, 101.053]

A: [ 0.13   0.093  0.243  0.306 -0.117 -0.036  0.249 -0.136  0.128  0.141]
****
Q: [18.617, 149.379, -44.916, 90.595, -27.514, 86.516, -38.114, 130.884, -81.452, -23.613]

A:
[ 0.071  0.574 -0.173  0.348 -0.106  0.332 -0.146  0.503 -0.313 -0.091]
****