#include <bits/stdc++.h>
#pragma GCC optimize("O3")
using namespace std;
signed main() {
  cin.sync_with_stdio(false);
  cout.sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  ;
  int a, b, c, d;
  cin >> a >> b >> c >> d;
  int ca = a, cb = b, cc = c, cd = d;
  if (ca > cb) {
    if (ca == cb + 1 && cc == 0 && cd == 0) {
      cout << "YES\n";
      cout << "0 ";
      for (int i = 0; i < cb; i++) {
        cout << "1 0 ";
      }
      return 0;
    }
    cout << "NO";
    return 0;
  }
  if (cd > cc) {
    if (cd == cc + 1 && ca == 0 && cb == 0) {
      cout << "YES\n";
      cout << "3 ";
      for (int i = 0; i < cc; i++) {
        cout << "2 3 ";
      }
      return 0;
    }
    cout << "NO";
    return 0;
  }
  cc -= cd;
  cb -= ca;
  if (cc == cb) {
    cout << "YES\n";
    for (int i = 0; i < a; i++) {
      cout << "0 1 ";
    }
    for (int i = 0; i < cc; i++) {
      cout << "2 1 ";
    }
    for (int i = 0; i < d; i++) {
      cout << "2 3 ";
    }
    return 0;
  }
  if (cc == cb - 1) {
    cout << "YES\n";
    cout << "1 ";
    for (int i = 0; i < a; i++) {
      cout << "0 1 ";
    }
    for (int i = 0; i < cc; i++) {
      cout << "2 1 ";
    }
    for (int i = 0; i < d; i++) {
      cout << "2 3 ";
    }
    return 0;
  }
  if (cc == cb + 1) {
    cout << "YES\n";
    for (int i = 0; i < a; i++) {
      cout << "0 1 ";
    }
    for (int i = 0; i < cb; i++) {
      cout << "2 1 ";
    }
    for (int i = 0; i < d; i++) {
      cout << "2 3 ";
    }
    cout << "2 ";
    return 0;
  }
  cout << "NO";
  return 0;
}
