Liebig's Barrels

Problem Name:
Liebig's Barrels
Site:CodeForces
Links:
Tags:
Problem setters: