#include <iostream>
#include <cmath>
using namespace std;
int main() {
double a, b, c;
cin >> a >> b >> c;
double angle0 = acos((b * b + c * c - a * a) / (2 * b * c));
double angle1 = acos((c * c + a * a - b * b) / (2 * a * c));
double angle2 = acos((a * a + b * b - c * c) / (2 * a * b));
double maxAngle = angle0 > angle1 ? (angle0 > angle2 ? angle0 : angle2) : (angle1 > angle2 ? angle1 : angle2);
if(maxAngle > M_PI / 2) {
cout << "Тупоугольный";
} else if(maxAngle == M_PI / 2) {
cout << "Прямоугольный";
} else {
cout << "Остроугольный";
}
cout << endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCWRvdWJsZSBhLCBiLCBjOwoJY2luID4+IGEgPj4gYiA+PiBjOwoJZG91YmxlIGFuZ2xlMCA9IGFjb3MoKGIgKiBiICsgYyAqIGMgLSBhICogYSkgLyAoMiAqIGIgKiBjKSk7Cglkb3VibGUgYW5nbGUxID0gYWNvcygoYyAqIGMgKyBhICogYSAtIGIgKiBiKSAvICgyICogYSAqIGMpKTsKCWRvdWJsZSBhbmdsZTIgPSBhY29zKChhICogYSArIGIgKiBiIC0gYyAqIGMpIC8gKDIgKiBhICogYikpOwoJZG91YmxlIG1heEFuZ2xlID0gYW5nbGUwID4gYW5nbGUxID8gKGFuZ2xlMCA+IGFuZ2xlMiA/IGFuZ2xlMCA6IGFuZ2xlMikgOiAoYW5nbGUxID4gYW5nbGUyID8gYW5nbGUxIDogYW5nbGUyKTsKCWlmKG1heEFuZ2xlID4gTV9QSSAvIDIpIHsKCQljb3V0IDw8ICLQotGD0L/QvtGD0LPQvtC70YzQvdGL0LkiOwoJfSBlbHNlIGlmKG1heEFuZ2xlID09IE1fUEkgLyAyKSB7CgkJY291dCA8PCAi0J/RgNGP0LzQvtGD0LPQvtC70YzQvdGL0LkiOwoJfSBlbHNlIHsKCQljb3V0IDw8ICLQntGB0YLRgNC+0YPQs9C+0LvRjNC90YvQuSI7Cgl9Cgljb3V0IDw8IGVuZGw7CglyZXR1cm4gMDsKfQ==