#include <bits/stdc++.h>
using namespace std;
void NO() {
  puts("NO");
  exit(0);
}
int cnt = 0, all = 0;
void print(int x, int y, int t) {
  if (t == 0) return;
  int sum = x + y, now = x;
  if (cnt == 0) puts("YES");
  for (; t > 0; t--) {
    ++cnt;
    printf("%d%c", now, " \n"[cnt == all]);
    now = sum - now;
  }
}
int main() {
  int a, b, c, d;
  scanf("%d%d%d%d", &a, &b, &c, &d);
  all = a + b + c + d;
  if (a > b + 1 || d > c + 1) NO();
  if (a == b + 1) {
    if (c + d > 0) NO();
    print(0, 1, a + b);
    return 0;
  }
  if (d == c + 1) {
    if (a + b > 0) NO();
    print(3, 2, c + d);
    return 0;
  }
  int restb = b - a;
  int restc = c - d;
  int det = abs(restb - restc);
  if (det > 1) NO();
  if (restb > restc)
    print(1, 0, a * 2 + 1);
  else
    print(0, 1, a * 2);
  print(2, 1, restb + restc - det);
  print(2, 3, all - cnt);
  return 0;
}
