Yet Another Card Deck

Problem Name:
Yet Another Card Deck
Site:CodeForces
Links:
Tags:
Problem setters: