#include <bits/stdc++.h> // All praise is due to Allah alone, and peace and blessings be
using namespace std; // upon him, after whom there is no other Prophet.
int32_t main() {
cin.tie(0)->sync_with_stdio(false);
function<void()> Test_Case = [&]() {
int ar[3];
for(int i = 0; i < 3; i++) {
cin >> ar[i];
}
sort(ar, ar + 3);
if(ar[0] + ar[1] <= ar[2]) {
cout << "Not a triangle";
}
else if(ar[0] == ar[1] and ar[1] == ar[2]) {
cout << "Equilateral";
}
else if(ar[0] == ar[1] or ar[1] == ar[2]) {
cout << "Isosceles";
}
else cout << "Scalene";
};
int32_t Case = 1; //cin >> Case;
for (int T = 1; T <= Case; T++) {
Test_Case();
}
return 0;
}