Identify triangles by side lengths