Hi, I think this link may help you. You can use the inverse transform method to simulate these values using the random numbers you already have.

Inverse Transform Method

(example 4 - "Inverse Transform Method for simulating discrete random variables" section)