Here is a sample of how the random numbers are generated and outputted.