0

Task:
Given an integer input between 1 to 500 take it as variable X.
Code should generate X random numbers such that their sum is exactly equal to 100
E.g.
Input: 10
Output:
14.7
, 13.2
, 11.11
, 8.4
, 7.4
, 12
, 8.4
, 5.4
, 6.4
, 12.99
This is code-golf so short...