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