#include <bits/stdc++.h>
using namespace std;
signed main() {
  int a, b, c;
  cin >> a >> b >> c;
  a = a + b + c;
  if (a & 3 == 0)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return (0);
}
