HackerEarth Glowing Bulbs problem solution - TheCScience