#include <bits/stdc++.h>
using namespace std;
int q[4], qq[4];
vector<int> cl;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cin >> q[0] >> q[1] >> q[2] >> q[3];
  int tot = q[0] + q[1] + q[2] + q[3];
  for (int st = 0; st < 4; ++st) {
    if (q[st] == 0) continue;
    memcpy(qq, q, sizeof(q));
    cl.clear();
    int cur = st;
    --qq[cur];
    cl.push_back(cur);
    bool ok = true;
    for (int i = 0; i < tot - 1; ++i) {
      if (cur - 1 >= 0 && qq[cur - 1]) {
        --cur;
        cl.push_back(cur);
        --qq[cur];
      } else if (cur + 1 <= 3 && qq[cur + 1]) {
        ++cur;
        cl.push_back(cur);
        --qq[cur];
      } else {
        ok = false;
        break;
      }
    }
    if (ok && cl.size() == tot) {
      cout << "YES"
           << "\n";
      for (auto y : cl) cout << y << " ";
      cout << "\n";
      exit(0);
    }
  }
  cout << "NO"
       << "\n";
}
