Analyze triangles given by a user.