#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  int a, b, c, d;
  cin >> a >> b >> c >> d;
  vector<int> v;
  if (b > a + (max(0, c - d))) {
    v.push_back(1);
    b--;
    while (a) {
      a--;
      b--;
      v.push_back(0);
      v.push_back(1);
    }
  } else if (a > b) {
    v.push_back(0);
    a--;
    while (b) {
      a--;
      b--;
      v.push_back(1);
      v.push_back(0);
    }
    if (a != 0) {
      cout << "NO";
      exit(0);
    }
  } else {
    while (a) {
      a--;
      b--;
      v.push_back(0);
      v.push_back(1);
    }
  }
  if (b > c) {
    v.push_back(1);
    b--;
    while (c) {
      v.push_back(2);
      v.push_back(1);
      b--;
      c--;
    }
  } else {
    while (b && c) {
      v.push_back(2);
      v.push_back(1);
      b--;
      c--;
    }
  }
  if (d > c) {
    v.push_back(3);
    d--;
    while (d && c) {
      d--;
      c--;
      v.push_back(2);
      v.push_back(3);
    }
  } else {
    while (d && c) {
      v.push_back(2);
      v.push_back(3);
      c--;
      d--;
    }
  }
  while (a) {
    v.push_back(0);
    a--;
  }
  while (b) {
    v.push_back(1);
    b--;
  }
  while (c) {
    v.push_back(2);
    c--;
  }
  while (d) {
    v.push_back(3);
    d--;
  }
  for (int i = 1; i < v.size(); i++) {
    if (abs(v[i] - v[i - 1]) != 1) {
      cout << "NO";
      exit(0);
    }
  }
  cout << "YES\n";
  for (auto x : v) cout << x << " ";
  return 0;
}
