#include <stdio.h>
int main()
{
int a=1, b=1, c=1;
while (scanf("%d %d %d", &a, &b, &c) != EOF)
{
if (a + b > c && a + c > b && b + c > a)//判断是否可构成三角
{
if (a == b && b == c)//判断是否为等边
{
printf("Equilateral triangle!\n");
}
else if (a == b || b == c || a == c)//判断是否为等腰
{
printf("Isosceles triangle!\n");
}
else//普通三角
{
printf("Ordinary triangle!\n");
}
}
else//啥也不是
{
printf("Not a triangle!\n");
}
}
return 0;
}