#include <stdio.h>

int main() {
    const char YES[] = "YES\n";
    const char NO[] = "NO\n";

    int inputSide[3];
    while (scanf("%d %d %d", &inputSide[0], &inputSide[1], &inputSide[2]) != EOF) {
        {
            bool finished = false;
            while (!finished) {
                finished = true;

                for (int i = 0; i < 3 - 1; ++i) {
                        if (inputSide[i] < inputSide[i + 1]) {
                        int temp = inputSide[i + 1];
                        inputSide[i + 1] = inputSide[i];
                        inputSide[i] = temp;
                        finished = false;
                    }
                }
            }
        }

        printf(((((inputSide[2] * inputSide[2]) + (inputSide[1] * inputSide[1])) == (inputSide[0] * inputSide[0])) ? YES : NO));
    }

    return 0;
}