#include <bits/stdc++.h>
using namespace std;
string s;
bool solve() {
  int a, n, m, d;
  s = "";
  cin >> a, cin >> n, cin >> m, cin >> d;
  if (!a && !n && m + 1 == d) {
    for (int i = 1; i <= m; ++i) s += "2 3 ";
    s = "3 " + s;
    return 1;
  }
  if (!m && !d && n + 1 == a) {
    for (int i = 1; i <= n; ++i) s += "1 0 ";
    s = "0 " + s;
    return 1;
  }
  n -= a;
  m -= d;
  if (n < 0 || m < 0) return 0;
  if (abs(n - m) > 1) return 0;
  if (n == m + 1) {
    for (int i = 1; i <= m; ++i) s += "1 2 ";
    s += "1 ";
    for (int i = 1; i <= a; ++i) s = "1 0 " + s;
    for (int i = 1; i <= d; ++i) s = s + "2 3 ";
    return 1;
  }
  if (m == n + 1) {
    for (int i = 1; i <= n; ++i) s += "1 2 ";
    s = "2 " + s;
    for (int i = 1; i <= a; ++i) s = "0 1 " + s;
    for (int i = 1; i <= d; ++i) s = s + "3 2 ";
    return 1;
  }
  if (n == m) {
    for (int i = 1; i <= n; ++i) s += "2 1 ";
    for (int i = 1; i <= a; ++i) s = "0 1 " + s;
    for (int i = 1; i <= d; ++i) s = s + "2 3 ";
    return 1;
  }
  return 0;
}
int main() {
  if (solve()) {
    printf("YES\n");
    cout << s << ' ';
  } else
    printf("NO");
  return 0;
}
