You are given the sides , and of a triangle, and based on this you must determine the type of the triangle.
The input contains three natural numbers , and .
As output, you must give one of the following answers:
equilateral, if the triangle is equilateral.
isosceles, if the triangle is isosceles.
versatile, if the triangle is scalene.
invalid, if it is not possible to form a triangle from the given sides.
Example 1
Example 2
Example 3
Example 4
Example 8