#include using namespace std; int main(void) { cin.tie(0); ios::sync_with_stdio(false); long long int A,B,C; cin >> A >> B >> C; long long int val = 2*C - A - B; if(val%3==0) { cout << "Yes" << '\n'; } else { cout << "No" << '\n'; } return 0; }