Receive a random number for investment