#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int a,b,c;
while(cin>>a>>b>>c)
{
if(a*a+b*b==c*c)
{cout<<"right triangle"<<endl;}
if(a*a+b*b<c*c|| (a==b&&b==c))
{cout<<"obtuse triangle"<<endl;}
if(a*a+b*b>c*c)
{cout<<"acute triangle"<<endl;}
}
return EXIT_SUCCESS;
}
#include
#include
using namespace std;
int main(int argc, char *argv[])
{
int a,b,c;
while(cin>>a>>b>>c)
{
if(a*a+b*b==c*c)
{cout<<"right triangle"< if(a*a+b*b {cout<<"obtuse triangle"< if(a*a+b*b>c*c)
{cout<<"acute triangle"< }
return EXIT_SUCCESS;
}