#include <iostream>
#include <cstdio>
#include <cmath>

using namespace std;

int main(){
  int sum, ans, a, b, c, a2, b2, c2;
  while(cin>>a>>b>>c){
    a2= sqrt(a);
    b2= sqrt(b);
    c2= sqrt(c);

    if((a2+b2==c2)||(b2+c2==a2)||(a2+c2==b2)){
      cout<<"YES"<<endl;
    }else{
      cout<<"NO"<<endl;
    }
  }
  return 0;
}