//先乘去掉小数点再计算
#include<bits/stdc++.h>
using namespace std;
#define ll long long
int main()
{
double a,b,c;
scanf("%lf %lf %lf",&a,&b,&c);
int x=a*10000000;
int y=b*10000000;
int z=c*10000000;
if(x-y==z) cout<<"YES";
else cout<<"NO";
return 0;
}

京公网安备 11010502036488号