Ming-Tian Yang's submission of Arranging the Inventory | CodeChef