Maximum number of sticks

Problem Name:
Maximum number of sticks
Site:HackerEarth
Links:
Tags: