Gambling Interview Question 17