Ivan Mistreanu's submission of Lights Off | CodeChef