Problem: Devu being a small kid, likes to play a lot, but he only likes to play with arrays. While playing he came up with an interesting question which he could not solve, can you please solve it for him?

Given an array consisting of distinct integers. Is it possible to partition the whole array into k disjoint non-empty parts such that p of the parts have even sum (each of them must have even sum) and remaining k - p have odd sum? (note that parts need not to be continuous).

If it is possible to partition the array, also give any possible way of valid partitioning.

Input

The first line will contain three space separated integers n, k, p (1 ≤ k ≤ n ≤ 105; 0 ≤ p ≤ k). The next line will contain n space-separated distinct integers representing the content of array a: a1, a2, ..., an (1 ≤ ai ≤ 109).

Output

In the first line print "YES" (without the quotes) if it is possible to partition the array in the required way. Otherwise print "NO" (without the quotes).

If the required partition exists, print k lines after the first line. The ith of them should contain the content of the ith part. Print the content of the part in the line in the following way: firstly print the number of elements of the part, then print all the elements of the part in arbitrary order. There must be exactly p parts with even sum, each of the remaining k - p parts must have odd sum.

As there can be multiple partitions, you are allowed to print any valid partition.

Examples

Input

5 5 3
2 6 10 5 9


Output

YES
1 9
1 5
1 10
1 6
1 2


Input

5 5 3
7 14 2 9 5


Output

NO


Input

5 3 1
1 2 3 7 5


Output

YES
3 5 1 3
1 7
1 2

Solution (in JAVA):

Solution:
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.StringTokenizer;

public class solver implements Runnable {
    BufferedReader in;
    PrintWriter out;
    StringTokenizer tok = new StringTokenizer("");

    final boolean OJ = System.getProperty("ONLINE_JUDGE") != null;

    void init() throws FileNotFoundException {
        if (OJ) {
            in = new BufferedReader(new InputStreamReader(System.in));
            out = new PrintWriter(System.out);
        } else {
            in = new BufferedReader(new FileReader("input.txt"));
            out = new PrintWriter("output.txt");
        }
        // try {
        // in = new BufferedReader(new FileReader("input.txt"));
        // out = new PrintWriter("output.txt");
        // } catch (Throwable e) {
        // in = new BufferedReader(new InputStreamReader(System.in));
        // out = new PrintWriter(System.out);
        // }
    }

    String readString() throws IOException {
        while (!tok.hasMoreTokens()) {
            try {
                tok = new StringTokenizer(in.readLine());
            } catch (Exception e) {
                return null;
            }
        }
        return tok.nextToken();
    }

    int readInt() throws IOException {
        return Integer.parseInt(readString());
    }

    long readLong() throws IOException {
        return Long.parseLong(readString());
    }

    double readDouble() throws IOException {
        return Double.parseDouble(readString());
    }

    public static void main(String[] args) {
        new Thread(null, new solver(), "", 128 * (1L << 20)).start();
    }

    public void run() {
        try {
            init();
            long time = System.currentTimeMillis();
            solve();
            System.err.println(System.currentTimeMillis() - time);
            out.close();
        } catch (IOException e) {
            System.err.println(e.getMessage());
            System.exit(-1);
        }
    }

    int gcd(int a, int b) {
        if (b == 0)
            return a;
        return gcd(b, a % b);
    }

    class Pair implements Comparable<Pair> {
        int x;
        int y;

        Pair(int x, int y) {
            this.x = x;
            this.y = y;
        }

        @Override
        public int compareTo(Pair o) {
            return x - o.x;
        }
    }

    void solve() throws IOException {
        int n = readInt();
        int k = readInt();
        int p = readInt();
        
        int oldp=p;
        int kmp = k - p;
        ArrayList<Integer> chet = new ArrayList<Integer>();
        ArrayList<Integer> nechet = new ArrayList<Integer>();

        for (int i = 0; i < n; i++) {
            int x = readInt();
            if (x % 2 == 0)
                chet.add(x);
            else
                nechet.add(x);
        }
        if (nechet.size() < kmp) {
            out.println("NO");
            return;
        }
        ArrayList<String> answer = new ArrayList<>();
        if (p == 0) {
            for (int i = 0; i < kmp - 1; i++) {
                answer.add("1 " + nechet.get(i));
            }
            long last = 0;
            StringBuilder sb = new StringBuilder();
            sb.append((nechet.size() - kmp + 1 + chet.size()) + " ");
            for (int i = kmp - 1; i < nechet.size(); i++) {
                sb.append(nechet.get(i) + " ");
                last += (long) nechet.get(i);
            }
            for (int i = 0; i < chet.size(); i++) {
                sb.append(chet.get(i) + " ");
                last += (long) chet.get(i);
            }
            answer.add(sb.toString());
            if (last % 2 == 0) {
                out.println("NO");
                return;
            }
        } else {
            for (int i = 0; i < kmp; i++) {
                answer.add("1 " + nechet.get(i));
            }
            long last=0;            
            for (int i=kmp;i<nechet.size();i++){
                last+=(long)nechet.get(i);
            }
            if (last%2!=0){
                out.println("NO");
                return;             
            }
            int i=0;
            for (;i<chet.size();i++){
                if (p==1) break;
                answer.add("1 "+chet.get(i));
                p--;
            }
            if (p==1){
                StringBuilder sb=new StringBuilder();               
                sb.append(chet.size()-oldp+1+nechet.size()-kmp);
                sb.append(" ");
                
                for (;i<chet.size();i++){
                    sb.append(chet.get(i)+" ");
                }
                for (i=kmp;i<nechet.size();i++){
                    sb.append(nechet.get(i)+" ");
                }       
                answer.add(sb.toString());
            }else{
                for (i=kmp;i<nechet.size();i+=2){
                    if (p==1) break;
                    if (i+1<nechet.size()){
                        answer.add("2 "+nechet.get(i)+" "+nechet.get(i+1));                     
                    }
                    p--;
                }
                
                if (p>1 || nechet.size()-i==0) {
                    out.println("NO");
                    return;
                }
                StringBuilder sb=new StringBuilder();
                sb.append(nechet.size()-i);
                sb.append(" ");
                
                for (;i<nechet.size();i++){
                    sb.append(nechet.get(i)+" ");
                }
                answer.add(sb.toString());
            }
        }
        out.println("YES");
        for (String s:answer){
            out.println(s);
        }

    }
}