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