#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  ios_base::sync_with_stdio(false);
  long long a, b, c, d;
  cin >> a >> b >> c >> d;
  long long n = a + b + c + d;
  long long arr[n];
  if (a + c >= b + d) {
    for (long long i = 0; i < n; i += 2) {
      if (a) {
        arr[i] = 0;
        a--;
      } else if (c) {
        arr[i] = 2;
        c--;
      } else {
        break;
      }
    }
    for (long long i = 1; i < n; i += 2) {
      if (b) {
        arr[i] = 1;
        b--;
      } else if (d) {
        arr[i] = 3;
        d--;
      } else {
        break;
      }
    }
  } else {
    for (long long i = 1; i < n; i += 2) {
      if (a) {
        arr[i] = 0;
        a--;
      } else if (c) {
        arr[i] = 2;
        c--;
      } else {
        break;
      }
    }
    for (long long i = 0; i < n; i += 2) {
      if (b) {
        arr[i] = 1;
        b--;
      } else if (d) {
        arr[i] = 3;
        d--;
      } else {
        break;
      }
    }
  }
  bool bani = true;
  for (long long i = 1; i < n; i++) {
    if (abs(arr[i] - arr[i - 1]) != 1) {
      bani = false;
    }
  }
  if (bani) {
    cout << "YES" << endl;
    for (long long i : arr) cout << i << ' ';
    cout << endl;
  } else {
    cout << "NO" << endl;
  }
  return 0;
}
