#include <bits/stdc++.h>
#define nl '\n'
#define ll long long int
#define all(c) c.begin(),c.end()
#define print(c) for(auto e : c) cout << e << " "; cout << nl
using namespace std;
int main()
{
ios_base::sync_with_stdio(false); cin.tie(NULL);
vector<int> v(3); for(auto &e : v) cin >> e;
sort(all(v));
if(v[0]+1 == v[1] && v[1]+1 == v[2]) cout << "Scalene" << nl; // ok
else if(v[0] == v[1] && v[1] == v[2]) cout << "Equilateral" << nl; // ok
else if(v[0] == v[1] || v[1] == v[2]) cout << "Isosceles" << nl; // let, ok
else
{
int x = v[0] * v[0];
int y = v[1] * v[1];
int z = x + y;
int sq = sqrt(z);
// cout << sq << nl;
if(sq*sq == v[2]) cout << "Scalene" << nl;
else cout << "Not a triangle" << nl;
}
return 0;
}