#include <bits/stdc++.h>
int main() {
  int a, b, c;
  std::cin >> a >> b >> c;
  if ((a + b + c) % 3 == 0) {
    std::cout << "Yes"
              << "\n";
  } else {
    std::cout << "No"
              << "\n";
  }
  return 0;
}
