#include <bits/stdc++.h>
using namespace std;
double PI = 3.141592653589793238462643383279;
const double EPS = 1e-9;
const long long MOD = 1000000007;
const int inf = 1 << 30;
const long long linf = 1LL << 60;
int a, b, c, d;
int main() {
  scanf("%d%d%d%d", &a, &b, &c, &d);
  if (a > b + 1 || d > c + 1) {
    puts("NO");
    return 0;
  }
  if (a == b + 1) {
    if (c != 0 || d != 0)
      puts("NO");
    else {
      puts("YES");
      printf("0");
      for (int i = 0; i < (int)b; i++) {
        printf(" 1 0");
      }
      puts("");
    }
    return 0;
  }
  if (d == c + 1) {
    if (a != 0 || b != 0)
      puts("NO");
    else {
      puts("YES");
      printf("3");
      for (int i = 0; i < (int)c; i++) {
        printf(" 2 3");
      }
      puts("");
    }
    return 0;
  }
  b -= a;
  c -= d;
  if (abs(b - c) < 2) {
    puts("YES");
    if (b == c + 1) printf("1 ");
    for (int i = 0; i < (int)a; i++) printf("0 1 ");
    for (int i = 0; i < (int)min(b, c); i++) printf("2 1 ");
    for (int i = 0; i < (int)d; i++) printf("2 3 ");
    if (c == b + 1) printf("2 ");
    puts("");
    return 0;
  }
  puts("NO");
}
