#include<iostream>
#include<algorithm>
using namespace std;
int main()
{
int a,b,c;
while(cin>>a>>b>>c)
{
int temp;
if(a>b){
temp=a;
a=b;
b=temp;
}
if(a>c){
temp=a;
a=c;
c=temp;
}
if(b>c){
temp=b;
b=c;
c=temp;
}
if(a+b<=c){
cout<<"not a trangle"<<endl;
}else{
if(a*a+b*b==c*c){
cout<<"Yes"<<endl;
}else{
cout<<"No"<<endl;
}
}
}
return 0;
}