Sourav Mallick's submission of Magical Lock | CodeChef