#include <bits/stdc++.h>
template <class T>
inline T gcd(T x, T y) {
  if (!y) return x;
  return gcd(y, x % y);
}
using namespace std;
const int MOD = 1e9 + 7;
int main(int argc, char* argv[]) {
  if (argc == 2 or argc == 3) freopen(argv[1], "r", stdin);
  if (argc == 3) freopen(argv[2], "w", stdout);
  int a, b, c;
  cin >> a >> b >> c;
  a = a + b + c;
  if (a % 3 == 0)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
