#include<iostream>
using namespace std;
int main(){
long long int a,b,c;
while(cin>>a>>b>>c){
a*=a, b*=b, c*=c;
if(a+b==c || a+c==b || c+b==a) cout<<"right triangle"<<endl;
else if(c>a+b || b>a+c || a>c+b) cout<<"obtuse triangle"<<endl;
else cout<<"acute triangle"<<endl;
}
return 0;
}