#include <bits/stdc++.h>
using namespace std;
using ll = long long int;
using ull = unsigned long long int;
using ld = long double;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
using vi = vector<int>;
using vl = vector<ll>;
using vii = vector<pii>;
using vll = vector<pll>;
const ld pi = acosl(-1);
const int inf = (int)1e9 + 7;
const ll llinf = (ll)1e18 + 7;
const ld eps = 1e-7;
template <typename T>
inline bool powerof2(T a) {
  return (a && (!(a & (a - 1))));
}
template <typename T>
inline T log_2(T a) {
  T res = -1;
  while (a) {
    a /= 2;
    res++;
  }
  return res;
}
void solve() {
  vi arr(4);
  for (auto& i : arr) cin >> i;
  if ((arr[0] == 0 && arr[1] == 0) || (arr[2] == 0 && arr[3] == 0)) {
    if ((abs(arr[0] - arr[1]) > 1) || (abs(arr[2] - arr[3]) > 1)) {
      cout << "NO" << '\n';
      return;
    }
    string a = "";
    cout << "YES" << '\n';
    if (arr[0] == 0 && arr[1] == 0) {
      for (int rep = 0; rep < (int)(min(arr[2], arr[3])); rep++) a += "23";
      if (arr[2] > arr[3])
        a += "2";
      else if (arr[3] > arr[2])
        a = "3" + a;
    } else {
      for (int rep = 0; rep < (int)(min(arr[0], arr[1])); rep++) a += "01";
      if (arr[0] > arr[1])
        a += "0";
      else if (arr[1] > arr[0])
        a = "1" + a;
    }
    for (auto& i : a) cout << i << " ";
    cout << '\n';
    return;
  }
  if ((arr[1] < arr[0]) || (arr[2] < arr[3])) {
    cout << "NO" << '\n';
    return;
  }
  int rem1 = arr[1] - arr[0], rem2 = arr[2] - arr[3];
  if (abs(rem1 - rem2) > 1) {
    cout << "NO" << '\n';
    return;
  }
  string a = "", b = "", c = "";
  for (int rep = 0; rep < (int)(arr[0]); rep++) a += "01";
  for (int rep = 0; rep < (int)(arr[3]); rep++) c += "23";
  if (rem1 > rem2) {
    a = "1" + a;
    rem1--;
  } else if (rem2 > rem1) {
    c = c + "2";
    rem2--;
  }
  assert(rem1 == rem2);
  for (int rep = 0; rep < (int)(rem1); rep++) b += "21";
  cout << "YES" << '\n';
  for (auto& i : a) cout << i << " ";
  for (auto& i : b) cout << i << " ";
  for (auto& i : c) cout << i << " ";
  cout << '\n';
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  cout << fixed << setprecision(10);
  solve();
  return 0;
}
