Tomaz Hocevar's submission of Lighting the shop | CodeChef