Classify the triangle based on the side lengths 18, 22, 40.

right

acute

obtuse

no triangle can be formed with given side lengths