#include <bits/stdc++.h>
using namespace std;
int ans[200005];
int main() {
  ios::sync_with_stdio(false);
  int a, b, c, d, aa, bb, cc, dd, aaa, bbb, ccc, ddd, aaaa, bbbb, cccc, dddd;
  cin >> a >> b >> c >> d;
  aaaa = aaa = aa = a, bbbb = bbb = bb = b, cccc = ccc = cc = c,
  dddd = ddd = dd = d;
  int all = a + b + c + d;
  int co = 0;
  int flag = 0;
  for (int i = 0; i < all; i++) {
    if (i == 0) {
      if (a > 0) {
        a--;
        ans[0] = 0;
      } else {
        flag = 1;
        break;
      }
    } else if (ans[i - 1] == 0) {
      if (b > 0) {
        b--;
        ans[i] = 1;
      } else {
        flag = 1;
        break;
      }
    } else if (ans[i - 1] == 1) {
      if (a > 0) {
        ans[i] = 0;
        a--;
      } else if (c > 0) {
        ans[i] = 2;
        c--;
      } else {
        flag = 1;
        break;
      }
    } else if (ans[i - 1] == 2) {
      if (b > 0) {
        ans[i] = 1;
        b--;
      } else if (d > 0) {
        ans[i] = 3;
        d--;
      } else {
        flag = 1;
        break;
      }
    } else if (ans[i - 1] == 3) {
      if (c > 0) {
        ans[i] = 2;
        c--;
      } else {
        flag = 1;
        break;
      }
    }
  }
  if (flag == 1) {
    flag = 0;
    for (int i = 0; i < all; i++) {
      if (i == 0) {
        if (bb > 0) {
          bb--;
          ans[0] = 1;
        } else {
          flag = 1;
          break;
        }
      } else if (ans[i - 1] == 0) {
        if (bb > 0) {
          bb--;
          ans[i] = 1;
        } else {
          flag = 1;
          break;
        }
      } else if (ans[i - 1] == 1) {
        if (aa > 0) {
          ans[i] = 0;
          aa--;
        } else if (cc > 0) {
          ans[i] = 2;
          cc--;
        } else {
          flag = 1;
          break;
        }
      } else if (ans[i - 1] == 2) {
        if (bb > 0) {
          ans[i] = 1;
          bb--;
        } else if (dd > 0) {
          ans[i] = 3;
          dd--;
        } else {
          flag = 1;
          break;
        }
      } else if (ans[i - 1] == 3) {
        if (cc > 0) {
          ans[i] = 2;
          cc--;
        } else {
          flag = 1;
          break;
        }
      }
    }
    if (flag == 1) {
      flag = 0;
      for (int i = 0; i < all; i++) {
        if (i == 0) {
          if (ccc > 0) {
            ccc--;
            ans[0] = 2;
          } else {
            flag = 1;
            break;
          }
        } else if (ans[i - 1] == 0) {
          if (bbb > 0) {
            bbb--;
            ans[i] = 1;
          } else {
            flag = 1;
            break;
          }
        } else if (ans[i - 1] == 1) {
          if (aaa > 0) {
            ans[i] = 0;
            aaa--;
          } else if (ccc > 0) {
            ans[i] = 2;
            ccc--;
          } else {
            flag = 1;
            break;
          }
        } else if (ans[i - 1] == 2) {
          if (bbb > 0) {
            ans[i] = 1;
            bbb--;
          } else if (ddd > 0) {
            ans[i] = 3;
            ddd--;
          } else {
            flag = 1;
            break;
          }
        } else if (ans[i - 1] == 3) {
          if (ccc > 0) {
            ans[i] = 2;
            ccc--;
          } else {
            flag = 1;
            break;
          }
        }
      }
      if (flag == 1) {
        flag = 0;
        for (int i = 0; i < all; i++) {
          if (i == 0) {
            if (dddd > 0) {
              dddd--;
              ans[0] = 3;
            } else {
              flag = 1;
              break;
            }
          } else if (ans[i - 1] == 0) {
            if (bbbb > 0) {
              bbbb--;
              ans[i] = 1;
            } else {
              flag = 1;
              break;
            }
          } else if (ans[i - 1] == 1) {
            if (aaaa > 0) {
              ans[i] = 0;
              aaaa--;
            } else if (ccc > 0) {
              ans[i] = 2;
              cccc--;
            } else {
              flag = 1;
              break;
            }
          } else if (ans[i - 1] == 2) {
            if (bbbb > 0) {
              ans[i] = 1;
              bbbb--;
            } else if (dddd > 0) {
              ans[i] = 3;
              dddd--;
            } else {
              flag = 1;
              break;
            }
          } else if (ans[i - 1] == 3) {
            if (cccc > 0) {
              ans[i] = 2;
              cccc--;
            } else {
              flag = 1;
              break;
            }
          }
        }
        if (flag == 1) {
          cout << "NO" << endl;
        } else {
          cout << "YES" << endl;
          for (int i = 0; i < all; i++) {
            cout << ans[i] << " ";
          }
          cout << endl;
        }
      } else {
        cout << "YES" << endl;
        for (int i = 0; i < all; i++) {
          cout << ans[i] << " ";
        }
        cout << endl;
      }
    } else {
      cout << "YES" << endl;
      for (int i = 0; i < all; i++) {
        cout << ans[i] << " ";
      }
      cout << endl;
    }
  } else {
    cout << "YES" << endl;
    for (int i = 0; i < all; i++) {
      cout << ans[i] << " ";
    }
    cout << endl;
  }
  return 0;
}
