#include <bits/stdc++.h>
using namespace std;
int f[4], a[4], ans[100002];
int main() {
  cin >> f[0] >> f[1] >> f[2] >> f[3];
  for (int i = 0; i < 4; i++) {
    if (!f[i]) continue;
    for (int j = 0; j < 4; j++) a[j] = f[j];
    a[i]--;
    ans[0] = i;
    bool ok = 1;
    for (int j = 0; j < f[0] + f[1] + f[2] + f[3] - 1; j++) {
      if (ans[j] > 0 && a[ans[j] - 1]) {
        ans[j + 1] = ans[j] - 1;
        a[ans[j] - 1]--;
      } else if (ans[j] < 3 && a[ans[j] + 1]) {
        ans[j + 1] = ans[j] + 1;
        a[ans[j] + 1]--;
      } else {
        ok = 0;
        break;
      }
    }
    if (ok) {
      cout << "YES\n";
      for (int i = 0; i < f[0] + f[1] + f[2] + f[3]; i++) cout << ans[i] << " ";
      return 0;
    }
  }
  cout << "NO\n";
  return 0;
}
