# Type of a triangle

There are 3 types of triangles:

- Equilateral: All 3 sides are equal

- Isosceles: Only 2 sides are equal

- Scalene: None of the sides are equal

Given 3 sides of a triangle, your task is to determine the type of the triangle.

In case it’s impossible to construct a triangle, the program should print

`Invalid triangle`

.Input | Output |

2
3
6 | Invalid triangle |

3
3
3 | Equilateral |

#### Constraints

Time limit: 1 seconds

Memory limit: 512 MB

Output limit: 1 MB