sugim48's submission of Stable market | CodeChef