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