Sarthak jain's submission of Magical Lock | CodeChef