#include <bits/stdc++.h>
using namespace std;
int a, b, c, d, f, g;
vector<int> s, t, mit;
void no() {
  cout << "NO" << '\n';
  exit(0);
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> a >> b >> c >> d;
  f = b, g = c;
  if (a) {
    if (g || b > a) {
      if (!b) no();
      s.push_back(1);
      b--;
    }
    while (a) {
      s.push_back(0);
      a--;
      if (a) {
        if (!b) no();
        s.push_back(1);
        b--;
      }
    }
  }
  if (d) {
    if (f || c > d) {
      if (!c) no();
      t.push_back(2);
      c--;
    }
    while (d) {
      t.push_back(3);
      d--;
      if (d) {
        if (!c) no();
        t.push_back(2);
        c--;
      }
    }
  }
  while (b && c) {
    mit.push_back(2);
    mit.push_back(1);
    b--, c--;
  }
  if (b) {
    s.push_back(1);
    b--;
  }
  if (c) {
    t.push_back(2);
    c--;
  }
  if (a || b || c || d) no();
  vector<int> res;
  reverse(s.begin(), s.end());
  for (int x : s) res.push_back(x);
  for (int x : mit) res.push_back(x);
  for (int x : t) res.push_back(x);
  for (int i = 0; i + 1 < res.size(); i++)
    if (abs(res[i] - res[i + 1]) != 1) no();
  cout << "YES" << '\n';
  for (int x : res) cout << x << " ";
  cout << '\n';
  return 0;
}
