#include <stdio.h>
#include<math.h>
int main() {
double a, b, c;
scanf("%lf %lf %lf", &a, &b, &c);
if (fabs((a - b) - c) < 0.00000001) {
printf("YES");
}
else {
printf("NO");
}
return 0;
}

#include <stdio.h>
#include<math.h>
int main() {
double a, b, c;
scanf("%lf %lf %lf", &a, &b, &c);
if (fabs((a - b) - c) < 0.00000001) {
printf("YES");
}
else {
printf("NO");
}
return 0;
}