#include <bits/stdc++.h>
using namespace std;
double a,b,c;
bool kt;
int main()
{
cin>>a>>b>>c;
kt=false;
if (a>0 && b>0 && c>0)
{
if (a*a==b*b+c*c) kt=true;
if (b*b==a*a+c*c) kt=true;
if (c*c==a*a+b*b) kt=true;
if (kt==true) cout<<"YES";
else cout<<"NO";
}
else cout<<"NO";
return 0;
}
Var a,b,c:real;
Begin
Write('Nhap a = ');readln(a);
Write('Nhap b = ');readln(b);
Write('Nhap c = ');readln(c);
If (a + b > c) and (b + c > a) and (c + a > b) then
Begin
If (a*a = b*b + c*c) or (b*b = a*a + c*c) or (c*c = a*a + b*b) then
Write('tam giac vuong')
Else write('Khong la tam giac vuong');
End
Else write('ba canh vua nhap khong lap thanh tam giac');
Readln
End.