Ilya Malinovsky's submission of Lights | CodeChef