deleted's submission of Magical Doors | CodeChef