#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  map<int, int> a;
  cin >> a[0] >> a[1] >> a[2] >> a[3];
  int s = a[0] + a[1] + a[2] + a[3];
  for (int i = 0; i < 4; i++) {
    if (a[i] != 0) {
      vector<int> res;
      auto t = a;
      t[i]--;
      int r = i;
      res.push_back(i);
      for (int j = 0; j < s - 1; j++) {
        if (t[r - 1] != 0) {
          t[r - 1]--;
          res.push_back(r - 1);
          r--;
        } else if (t[r + 1] != 0) {
          t[r + 1]--;
          res.push_back(r + 1);
          r++;
        } else
          break;
      }
      if (s == res.size()) {
        cout << "YES" << endl;
        for (int i = 0; i < res.size(); i++) cout << res[i] << ' ';
        return 0;
      }
    }
  }
  cout << "NO";
  return 0;
}
