Completed Triangle and MaxProductOfThree