#include <bits/stdc++.h>
using namespace std;
vector<int> niz1;
vector<int> niz2;
vector<int> res;
int main() {
  ios_base::sync_with_stdio(false);
  int a, b, c, d;
  cin >> a >> b >> c >> d;
  if ((a > b + 1) || (d > c + 1)) {
    cout << "NO" << endl;
    return 0;
  }
  if (a >= b + 1) {
    if (c > 0 || d > 0) {
      cout << "NO" << endl;
      return 0;
    }
    cout << "YES" << endl;
    while (a > 1) {
      cout << 0 << " " << 1 << " ";
      a--;
    }
    cout << 0;
    cout << endl;
    return 0;
  }
  if (d >= c + 1) {
    if (a > 0 || b > 0) {
      cout << "NO" << endl;
      return 0;
    }
    cout << "YES" << endl;
    while (d > 1) {
      cout << 3 << " " << 2 << " ";
      d--;
    }
    cout << 3;
    cout << endl;
    return 0;
  }
  while (a > 0 && b > 0) {
    niz1.push_back(0);
    niz1.push_back(1);
    a--;
    b--;
  }
  while (c > 0 && d > 0) {
    niz2.push_back(2);
    niz2.push_back(3);
    c--;
    d--;
  }
  while (b > 0 && c > 0) {
    niz1.push_back(2);
    niz1.push_back(1);
    b--;
    c--;
  }
  if (b > 1 || c > 1) {
    cout << "NO" << endl;
    return 0;
  }
  cout << "YES" << endl;
  if (b > 0) cout << 1 << " ";
  for (int x : niz1) cout << x << " ";
  for (int x : niz2) cout << x << " ";
  if (c > 0) cout << 2 << " ";
  cout << endl;
  return 0;
}
