Gennady and a Card Game

Problem Name:
Gennady and a Card Game
Site:CodeForces
Links:
Tags:
Problem setters: