#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  map<long long, long long> n;
  cin >> n[0] >> n[1] >> n[2] >> n[3];
  long long all = 0;
  for (long long i = 0; i <= 3; i++) all += n[i];
  for (long long i = 0; i <= 3; i++) {
    if (n[i]) {
      vector<long long> ans;
      ans.push_back(i);
      auto cr = n;
      cr[i]--;
      long long lt = i;
      long long j = 1;
      while (j < all) {
        if (cr[lt - 1]) {
          cr[lt - 1]--;
          ans.push_back(lt - 1);
          lt--;
        } else if (cr[lt + 1]) {
          cr[lt + 1]--;
          ans.push_back(lt + 1);
          lt++;
        } else {
          break;
        }
      }
      if ((long long)ans.size() == all) {
        cout << "YES"
             << "\n";
        for (long long x : ans) {
          cout << x << " ";
        }
        return 0;
      }
    }
  }
  cout << "NO";
  return 0;
}
