Descriptions:

Gennady and a Card Game

CodeForces - 1097A