#include <bits/stdc++.h>
using namespace std;
int main() {
  int val, total;
  for (int i = 0; i < 3; i++) {
    cin >> val;
    total += val;
  }
  printf("%s\n", total & 3 == 0 ? "Yes" : "No");
  return 0;
}
