Input the frequency distribution, output the original data

Datums (values):

their Frequencies: