#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int a, b, c, d;
  string s = "";
  cin >> a >> b >> c >> d;
  if (a - b == 1 && c == 0 && d == 0) {
    cout << "YES\n";
    for (int i = 0; i < b; i++) cout << "0 1 ";
    cout << "0\n";
  } else if (d - c == 1 && a == 0 && b == 0) {
    cout << "YES\n";
    for (int i = 0; i < c; i++) cout << "3 2 ";
    cout << "3\n";
  } else if (b >= a && c >= d && abs((b - a) - (c - d)) <= 1) {
    cout << "YES\n";
    for (int i = 0; i < a; i++) s += "0 1 ";
    for (int i = 0; i < d; i++) s += "2 3 ";
    b -= a;
    c -= d;
    a = min(b, c);
    for (int i = 0; i < a; i++) s += "2 1 ";
    if (b > a)
      s = "1 " + s;
    else if (c > a)
      s += "2";
    cout << s << "\n";
  } else {
    cout << "NO\n";
  }
  return 0;
}
