#include <bits/stdc++.h>
using namespace std;
long long a, b, c, d;
signed main() {
  ios_base::sync_with_stdio(0);
  cin >> a >> b >> c >> d;
  if ((a == (b + 1)) && (c == 0) && (d == 0)) {
    cout << "YES"
         << "\n";
    for (long long i = 1; i <= b; i++) cout << 0 << " " << 1 << " ";
    cout << 0;
    return 0;
  }
  if ((d == (c + 1)) && (a == 0) && (b == 0)) {
    cout << "YES"
         << "\n";
    for (long long i = 1; i <= c; i++) cout << 3 << " " << 2 << " ";
    cout << 3;
    return 0;
  }
  if ((a > b) || (d > c)) {
    cout << "NO";
    return 0;
  }
  if (abs(a + c - b - d) >= 2) {
    cout << "NO";
    return 0;
  }
  cout << "YES"
       << "\n";
  if ((a + c) == (b + d)) {
    for (long long i = 1; i <= a; i++) cout << 0 << " " << 1 << " ";
    b -= a;
    for (long long i = 1; i <= b; i++) cout << 2 << " " << 1 << " ";
    c -= b;
    for (long long i = 1; i <= c; i++) cout << 2 << " " << 3 << " ";
  } else if ((a + c) > (b + d)) {
    for (long long i = 1; i <= a; i++) cout << 0 << " " << 1 << " ";
    b -= a;
    for (long long i = 1; i <= b; i++) cout << 2 << " " << 1 << " ";
    c -= b;
    for (long long i = 1; i < c; i++) cout << 2 << " " << 3 << " ";
    cout << 2 << " ";
  } else {
    for (long long i = 1; i <= d; i++) cout << 3 << " " << 2 << " ";
    c -= d;
    for (long long i = 1; i <= c; i++) cout << 1 << " " << 2 << " ";
    b -= c;
    for (long long i = 1; i < b; i++) cout << 1 << " " << 0 << " ";
    cout << 1 << " ";
  }
}
