#include <bits/stdc++.h>
#pragma GCC optimize("02")
#pragma GCC target("tune=native")
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int a, b, c;
  cin >> a >> b >> c;
  if ((a + b + c) % 3)
    cout << "No\n";
  else
    cout << "Yes\n";
  return 0;
}
