Type of the Triangle#259

Type of the Triangle

1 second
64 megabytes
Very easy (≈850)

You are given the sides , and of a triangle, and based on this you must determine the type of the triangle.

Input

The input contains three natural numbers , and .

Output

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.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading

Example 4

Loading
Loading

Example 8

Loading
Loading