#include <bits/stdc++.h>
using namespace std;
string s;
int i, n0, n1, n2, n3;
int main() {
  cin >> n0 >> n1 >> n2 >> n3;
  if (n0 > n1 + 1 || n3 > n2 + 1) {
    cout << "NO";
    return 0;
  }
  if (n0 == n1 + 1) {
    if (n2 + n3 > 0) {
      cout << "NO";
      return 0;
    }
    cout << "YES" << '\n';
    for (i = 1; i <= n0 + n1; i++)
      if (i % 2 == 1)
        cout << 0 << " ";
      else
        cout << 1 << " ";
    return 0;
  }
  if (n3 == n2 + 1) {
    if (n0 + n1 > 0) {
      cout << "NO";
      return 0;
    }
    cout << "YES" << '\n';
    for (i = 1; i <= n2 + n3; i++)
      if (i % 2 == 1)
        cout << 3 << " ";
      else
        cout << 2 << " ";
    return 0;
  }
  string s = "";
  for (i = 1; i <= n0; i++) s += "01";
  for (i = 1; i <= n3; i++) s += "23";
  n1 -= n0;
  n2 -= n3;
  if (abs(n1 - n2) > 1) {
    cout << "NO";
    return 0;
  }
  if (n2 > n1) {
    for (i = 1; i <= n1 + n2; i++)
      if (i % 2 == 1)
        s += "2";
      else
        s += "1";
  } else {
    string x = "";
    for (i = n1 + n2; i >= 1; i--)
      if (i % 2 == 1)
        x += "1";
      else
        x += "2";
    s = x + s;
  }
  cout << "YES" << '\n';
  for (i = 0; i < s.length(); i++) cout << s[i] << " ";
}
