Bricks and Bags

Problem Name:
Bricks and Bags
Site:CodeForces
Links:
Tags:
Problem setters: