#include <bits/stdc++.h>
using namespace std;
void Xarr() {
  long long a, b, c, d;
  cin >> a >> b >> c >> d;
  if (a > b) {
    if (a - b == 1 && c == 0 && d == 0) {
      cout << "YES"
           << "\n";
      for (long long i = 0; i < a - 1; i++) cout << "0 1 ";
      cout << 0 << "\n";
      return;
    } else {
      cout << "NO"
           << "\n";
      return;
    }
  }
  if (d > c) {
    if (d - c == 1 && a == 0 && b == 0) {
      cout << "YES"
           << "\n";
      cout << "3 ";
      for (long long i = 0; i < d - 1; i++) cout << "2 3 ";
      return;
    } else {
      cout << "NO"
           << "\n";
      return;
    }
  }
  string s1 = "";
  string s2 = "";
  string s3 = "";
  for (long long i = 0; i < a; i++) {
    s1 += "0 1 ";
  }
  for (long long i = 0; i < d; i++) {
    s3 += "2 3 ";
  }
  c = c - d;
  b = b - a;
  if (c > b) {
    if (c - b == 1) {
      s3 = s3 + "2";
      c--;
    } else {
      cout << "NO";
      return;
    }
  }
  if (b > c) {
    if (b - c == 1) {
      s1 = "1 " + s1;
      b--;
    } else {
      cout << "NO";
      return;
    }
  }
  for (long long i = 0; i < c; i++) {
    s2 += "2 1 ";
  }
  cout << "YES"
       << "\n";
  cout << s1 << s2 << s3 << "\n";
  return;
}
int32_t main() {
  cout << fixed << setprecision(16);
  cin.sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  Xarr();
}
