#define _GLIBCXX_FILESYSTEM
#include<bits/stdc++.h>
using namespace std;
#define ll long long
void solve() {
int A, B, C;
cin >> A >> B >> C;
if (A + B <= C || A + C <= B || B + C <= A) {
cout << "Not a triangle" << endl;
}
else if (A == B && B == C) {
cout << "Equilateral" << endl;
}
else if (A == B || B == C || A == C) {
cout << "Isosceles" << endl;
}
else {
cout << "Scalene" << endl;
}
return;
}
int32_t main() {
ios_base::sync_with_stdio(false);cin.tie(NULL);
int tc = 1;
// cin >> tc;
for(int kase = 1; kase <= tc; kase++) {
//cout << "Case " << kase << ": ";
solve();
}
return 0;
}