A Safe Bet

Problem Name:
A Safe Bet
Site:CodeForces
Links:
Tags:
Problem setters: