Microsoft interview question

Build a raffle system that picks a winner randomly