#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
template <typename T>
T pow(T a, T b, long long m) {
  T ans = 1;
  while (b > 0) {
    if (b % 2 == 1) ans = (ans * a) % m;
    b /= 2;
    a = (a * a) % m;
  }
  return ans % m;
}
const long long N = 100000 + 5;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  long long a, b, c, d;
  cin >> a >> b >> c >> d;
  if (a > b) {
    if (c == 0 && d == 0 && a == b + 1) {
      cout << "YES" << endl;
      for (long long i = 1; i <= b; i++) {
        cout << "0 1" << ' ';
      }
      cout << "0";
      return 0;
    }
    cout << "NO";
    return 0;
  }
  if (d > c) {
    if (a == 0 && b == 0 && d == c + 1) {
      cout << "YES" << endl;
      cout << 3 << ' ';
      for (long long i = 1; i <= c; i++) {
        cout << "2 3" << ' ';
      }
      return 0;
    }
    cout << "NO";
    return 0;
  }
  long long x = b - a;
  long long y = c - d;
  if (x != y && (x + 1) != y && (y + 1) != x) {
    cout << "NO";
    return 0;
  }
  cout << "YES" << endl;
  if (x == y) {
    for (long long i = 1; i <= a; i++) {
      cout << "0 1" << ' ';
    }
    for (long long i = 1; i <= x; i++) {
      cout << "2 1" << ' ';
    }
    for (long long i = 1; i <= d; i++) {
      cout << "2 3" << ' ';
    }
    return 0;
  }
  if (x + 1 == y) {
    for (long long i = 1; i <= a; i++) {
      cout << "0 1" << ' ';
    }
    for (long long i = 1; i <= x; i++) {
      cout << "2 1" << ' ';
    }
    for (long long i = 1; i <= d; i++) {
      cout << "2 3" << ' ';
    }
    cout << 2 << ' ';
    return 0;
  } else {
    cout << 1 << ' ';
    x--;
    for (long long i = 1; i <= a; i++) {
      cout << "0 1" << ' ';
    }
    for (long long i = 1; i <= x; i++) {
      cout << "2 1" << ' ';
    }
    for (long long i = 1; i <= d; i++) {
      cout << "2 3" << ' ';
    }
  }
}
