Shivam Mahendru's submission of Lights Off | CodeChef