Hongcow Buys a Deck of Cards

Problem Name:
Hongcow Buys a Deck of Cards
Site:CodeForces
Links:
Tags:
Problem setters: