2907: Maximum Profitable Triplets With Increasing Prices I

Problem Statement