#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  ;
  cout.tie(0);
  int q = 1;
  while (q--) {
    int a, b, c, d;
    cin >> a >> b >> c >> d;
    if (b == 0 && a == 0) {
      if (c == d + 1) {
        cout << "YES" << endl << 2 << " ";
        c--;
        while (c--) cout << "3 2 ";
      } else if (d == c + 1) {
        cout << "YES" << endl << "3 ";
        d--;
        while (d--) cout << "2 3 ";
      } else if (c == d) {
        cout << "YES" << endl;
        while (c--) cout << "2 3 ";
      } else
        cout << "NO";
    } else if ((c == 0 && d == 0)) {
      if (a == b + 1) {
        cout << "YES" << endl << "0 ";
        while (b--) cout << "1 0 ";
      } else if (b == a + 1) {
        cout << "YES" << endl << "1 ";
        while (a--) cout << "0 1 ";
      } else if (a == b) {
        cout << "YES" << endl;
        while (a--) cout << "0 1 ";
      } else
        cout << "NO";
    } else if (a > b || -1 > b - a + d - c || b + d - a - c > 1 || d > c) {
      cout << "NO";
    } else {
      cout << "YES" << endl;
      if (b - a + d - c == 1 && b > 0) {
        cout << 1 << " ";
        b--;
      }
      while (a > 0) {
        cout << 0 << " " << 1 << " ";
        b--;
        a--;
      }
      while (b > 0) {
        cout << 2 << " " << 1 << " ";
        b--;
        c--;
      }
      if (d > c) {
        cout << 3 << " ";
        d--;
      }
      while (c > 1) {
        cout << 2 << " " << 3 << " ";
        c--;
        d--;
      }
      if (c > 0) cout << 2 << " ";
      if (d > 0) cout << 3 << " ";
    }
  }
}
