!OP's submission of Increasing Decreasing | CodeChef