You are given three sticks with integer lengths , , and .
You may cut the sticks. In one cut, you choose one stick and decrease its length by a positive integer. All stick lengths must remain positive integers.
Find the maximum possible perimeter of a non-degenerate triangle that can be made from the three sticks after some cuts. You may also make no cuts.
The sticks are . They already make a triangle, and the perimeter is .
We can cut the stick of length into length . Then the sticks become , and the perimeter is .
We can cut the stick of length into length . Then the sticks become , and the perimeter is .
We can cut the stick of length into length . Then the sticks become , and the perimeter is .
We can cut the stick of length into length . Then the sticks become , and the perimeter is .