Sasha and the Casino

Problem Name:
Sasha and the Casino
Site:CodeForces
Links:
Tags:
Problem setters: