Tomek Czajka's submission of Lights | CodeChef