Problem: An integer sequence is called beautiful if the difference between any two consecutive numbers is equal to 1. More formally, a sequence s_1, s_2, …, s_{n} is beautiful if |s_i - s_{i+1}| = 1 for all 1 ≤ i ≤ n - 1.

Trans has a numbers 0, b numbers 1, c numbers 2 and d numbers 3. He wants to construct a beautiful sequence using all of these a + b + c + d numbers.

However, it turns out to be a non-trivial task, and Trans was not able to do it. Could you please help Trans?

Input

The only input line contains four non-negative integers a, b, c and d (0 < a+b+c+d ≤ 10^5).

Output

If it is impossible to construct a beautiful sequence satisfying the above constraints, print "NO" (without quotes) in one line.

Otherwise, print "YES" (without quotes) in the first line. Then in the second line print a + b + c + d integers, separated by spaces — a beautiful sequence. There should be a numbers equal to 0, b numbers equal to 1, c numbers equal to 2 and d numbers equal to 3.

If there are multiple answers, you can print any of them.

Examples

Input


2 2 2 1


Output


YES
0 1 0 1 2 3 2


Input


1 2 3 4


Output


NO


Input


2 2 2 3


Output


NO

Note

In the first test, it is easy to see, that the sequence is beautiful because the difference between any two consecutive numbers is equal to 1. Also, there are exactly two numbers, equal to 0, 1, 2 and exactly one number, equal to 3.

It can be proved, that it is impossible to construct beautiful sequences in the second and third tests.

Solution (in JAVA):

Solution:
import java.io.*;
import java.lang.reflect.Array;
import java.util.*;

public class D {
    static class FastReader {
        BufferedReader br;
        StringTokenizer st;

        public FastReader() {
            br = new BufferedReader(new
                    InputStreamReader(System.in));
        }

        String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt() {
            return Integer.parseInt(next());
        }

        long nextLong() {
            return Long.parseLong(next());
        }

        double nextDouble() {
            return Double.parseDouble(next());
        }

        String nextLine() {
            String str = "";
            try {
                str = br.readLine();
            } catch (IOException e) {
                e.printStackTrace();
            }
            return str;
        }
    }

    static FastReader s = new FastReader();
    static PrintWriter out = new PrintWriter(System.out);

    private static int[] rai(int n) {
        int[] arr = new int[n];
        for (int i = 0; i < n; i++) {
            arr[i] = s.nextInt();
        }
        return arr;
    }

    private static int[][] rai(int n, int m) {
        int[][] arr = new int[n][m];
        for (int i = 0; i < n; i++) {
            for (int j = 0; j < m; j++) {
                arr[i][j] = s.nextInt();
            }
        }
        return arr;
    }

    private static long[] ral(int n) {
        long[] arr = new long[n];
        for (int i = 0; i < n; i++) {
            arr[i] = s.nextLong();
        }
        return arr;
    }

    private static long[][] ral(int n, int m) {
        long[][] arr = new long[n][m];
        for (int i = 0; i < n; i++) {
            for (int j = 0; j < m; j++) {
                arr[i][j] = s.nextLong();
            }
        }
        return arr;
    }

    private static int ri() {
        return s.nextInt();
    }

    private static long rl() {
        return s.nextLong();
    }

    private static String rs() {
        return s.next();
    }

    static int gcd(int a, int b)
    {
        if (b == 0)
            return a;
        return gcd(b, a % b);
    }
    static boolean[] sieveOfEratosthenes(int n)
    {
        boolean[] prime = new boolean[n+1];
        for(int i=0;i<n;i++)
            prime[i] = true;

        for(int p = 2; p*p <=n; p++)
        {
            if(prime[p])
            {
                for(int i = p*p; i <= n; i += p)
                    prime[i] = false;
            }
        }

        return prime;
    }
    public static int[] lowestPrimeFactors(int n) {
        int tot = 0;
        int[] lpf = new int[n + 1];
        int u = n + 32;
        double lu = Math.log(u);
        int[] primes = new int[(int) (u / lu + u / lu / lu * 1.5)];
        for (int i = 2; i <= n; i++)
            lpf[i] = i;
        for (int p = 2; p <= n; p++) {
            if (lpf[p] == p)
                primes[tot++] = p;
            int tmp;
            for (int i = 0; i < tot && primes[i] <= lpf[p] && (tmp = primes[i] * p) <= n; i++) {
                lpf[tmp] = primes[i];
            }
        }
        return lpf;
    }
    public static void main(String[] args) {
        StringBuilder ans = new StringBuilder();
//        int t = ri();
        int t= 1;
        while (t-- > 0)
        {
            int[] arr=rai(4);
            if(arr[0]==arr[1])
            {
                if(arr[0]==0)
                {
                    if (arr[2] == arr[3] || arr[2] == arr[3] + 1) {
                        ans.append("YES\n");
                        for (int i = 0; i < arr[0]; i++) {
                            ans.append("0 1 ");
                        }
                        for (int i = 0; i < arr[3]; i++) {
                            ans.append("2 3 ");
                        }
                        if (arr[2] > arr[3]) {
                            ans.append("2\n");
                        }
                    }
                    else if(arr[3]==arr[2]+1)
                    {
                        ans.append("YES\n");
                        for (int i = 0; i < arr[2]; i++) {
                            ans.append("3 2 ");
                        }
                        ans.append("3\n");
                    }
                    else
                    {
                        ans.append("NO\n");
                    }
                }
                else {
                    if (arr[2] == arr[3] || arr[2] == arr[3] + 1) {
                        ans.append("YES\n");
                        for (int i = 0; i < arr[0]; i++) {
                            ans.append("0 1 ");
                        }
                        for (int i = 0; i < arr[3]; i++) {
                            ans.append("2 3 ");
                        }
                        if (arr[2] > arr[3]) {
                            ans.append("2\n");
                        }
                    } else {
                        ans.append("NO\n");
                    }
                }
            }
            else if(arr[1]>arr[0])
            {
                int rem=arr[1]-arr[0];

                if(arr[3]==0)
                {
                    if(rem==arr[2] || rem==arr[2]+1)
                    {
                        ans.append("YES\n");
                        for(int i=0;i<arr[0];i++)
                        {
                            ans.append("1 0 ");
                        }
                        for(int i=0;i<arr[2];i++)
                        {
                            ans.append("1 2 ");
                        }
                        if(rem>arr[2])
                        {
                            ans.append("1\n");
                        }
                    }
                    else if(rem==arr[2]-1)
                    {
                        ans.append("YES\n");
                        for(int i=0;i<arr[0];i++)
                        {
                            ans.append("0 1 ");
                        }
                        for(int i=0;i<rem;i++)
                        {
                            ans.append("2 1 ");
                        }
//                        if(rem>arr[2])
//                        {
                            ans.append("2\n");
//                        }
                    }
                    else
                    {
                        ans.append("NO\n");
                    }
                }
                else
                {
                    if(arr[2]<rem)
                    {
                        ans.append("NO\n");
                    }
                    else {
                        int rem2=arr[2]-rem;
                        if(rem2==arr[3] ||  rem2==arr[3]-1)
                        {
                            ans.append("YES\n");
                            for(int i=0;i<arr[0];i++)
                            {
                                ans.append("1 0 ");
                            }
                            for(int i=0;i<rem;i++)
                            {
                                ans.append("1 2 ");
                            }
                            for(int i=0;i<rem2;i++)
                            {
                                ans.append("3 2 ");
                            }
                            if(rem2<arr[3])
                            {
                                ans.append("3\n");
                            }
                        }
                        else if(rem2==arr[3]+1)
                        {
                            ans.append("YES\n");
                            for(int i=0;i<arr[0];i++)
                            {
                                ans.append("0 1 ");
                            }
                            for(int i=0;i<rem;i++)
                            {
                                ans.append("2 1 ");
                            }
                            for(int i=0;i<arr[3];i++)
                            {
                                ans.append("2 3 ");
                            }
                            ans.append("2\n");
                        }
                        else
                        {
                            ans.append("NO\n");
                        }
                    }
                }
            }
            else {
                if(arr[2]!=0 || arr[3]!=0)
                {
                    ans.append("NO\n");

                }
                else {
                    if(arr[0]==arr[1]+1)
                    {
                        ans.append("YES\n");
                        for(int i=0;i<arr[1];i++)
                        {
                            ans.append("0 1 ");
                        }
                        ans.append("0\n");
                    }
                    else
                    {
                        ans.append("NO\n");
                    }
                }

            }
//
//            String[] str=ans.toString().split(" |\n");
//            int[] res=new int[4];
//            for(int i=0;i<str.length;i++)
//            {
//                if(i==0)
//                {
//                    continue;
//                }
//                String s1=str[i];
//                res[Integer.parseInt(s1)]++;
//            }
//            for(int i=0;i<4;i++)
//            {
//                System.out.print(res[i]+" ");
//            }
//            System.out.println();
        }
        out.print(ans.toString());
        out.flush();

    }
}