#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  scanf("%d %d %d", &a, &b, &c);
  int sum = 0;
  sum = (a + b + c);
  if (sum % 3 == 0) {
    printf("Yes\n");
    return 0;
  }
  printf("No\n");
  return 0;
}
