Devesh Agarwal's submission of Bulbs and Wires | CodeChef