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