#include <stdio.h>
int main(){
double a,b,c;
scanf("%lf %lf %lf", &a, &b, &c);
if(a >= (b+c) || b >= (a+c) || c >= (a+b))
printf("NAO FORMA TRIANGULO
");
else if(a*a == (b*b + c*c) || b*b == (a*a + c*c) || c*c == (a*a + b*b))
printf("TRIANGULO RETANGULO
");
else if(a*a > (b*b + c*c) || b*b > (a*a + c*c) || c*c > (a*a + b*b))
printf("TRIANGULO OBTUSANGULO
");
else if(a*a < (b*b + c*c) || b*b < (a*a + c*c) || c*c < (a*a + b*b))
printf("TRIANGULO ACUTANGULO
");
if(a == b && a == c)
printf("TRIANGULO EQUILATERO
");
if((a == b && a != c) || (a == c && a != b) || (b == c && b != a))
printf("TRIANGULO ISOSCELES
");
return 0;
}