deleted's submission of Magical Planks | CodeChef