#include <bits/stdc++.h>
int main(int argc, char const *argv[]) {
  int a, b, c;
  scanf("%d%d%d", &a, &b, &c);
  if (!((a + b + c) % 3))
    printf("Yes\n");
  else
    printf("No\n");
  return 0;
}
