Utkarsh Garg's submission of Bulbs and Wires | CodeChef