#include <bits/stdc++.h>
using namespace std;
long long MOD = 1e9 + 7;
void solve() {
  long long a, b, c, d, ind = 0;
  cin >> a >> b >> c >> d;
  string s1 = "", s2 = "";
  if (b >= a and c >= d and abs(c - d - b + a) <= 1) {
    while (ind < a) {
      s1 += "0 1 ";
      ind++;
    }
    ind = 0;
    while (ind < d) {
      s2 += "2 3 ";
      ind++;
    }
    ind = 0;
    if (c - d - b + a == -1) {
      s1 = "1 " + s1;
      while (ind < c - d) {
        s1 += "2 1 ";
        ind++;
      }
    } else if (c - d - b + a == 1) {
      s2 = s2 + "2";
      while (ind < b - a) {
        s1 += "2 1 ";
        ind++;
      }
    } else {
      while (ind < b - a) {
        s1 += "2 1 ";
        ind++;
      }
    }
    cout << "YES\n" << s1 + s2 << "\n";
  } else if (a == b + 1 and c == 0 and d == 0) {
    while (ind < b) {
      s1 += "0 1 ";
      ind++;
    }
    s1 += "0";
    cout << "YES\n" << s1 + s2 << "\n";
  } else if (d == c + 1 and a == 0 and b == 0) {
    while (ind < c) {
      s1 += "3 2 ";
      ind++;
    }
    s2 += "3";
    cout << "YES\n" << s1 + s2 << "\n";
  } else {
    cout << "NO\n";
    return;
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long t = 1;
  while (t--) {
    solve();
  }
}
