#include using namespace std; typedef long long ll; typedef pair P; #define REP(i,n) for(ll i=0;i> p >> q >> r; if(2*q==p+r) cout << "Yes" << endl; else cout << "No" << endl; return 0; }