Devansh Bajpai's submission of Stable market | CodeChef