Get a random number.