Problem: Dima loves representing an odd number as the sum of multiple primes, and Lisa loves it when there are at most three primes. Help them to represent the given number as the sum of at most than three primes.

More formally, you are given an odd numer n. Find a set of numbers pi (1 ≤ i ≤ k), such that

  1. 1 ≤ k ≤ 3
  2. pi is a prime
  3. <image>



The numbers pi do not necessarily have to be distinct. It is guaranteed that at least one possible solution exists.

Input

The single line contains an odd number n (3 ≤ n < 109).

Output

In the first line print k (1 ≤ k ≤ 3), showing how many numbers are in the representation you found.

In the second line print numbers pi in any order. If there are multiple possible solutions, you can print any of them.

Examples

Input

27


Output

3
5 11 11

Note

A prime is an integer strictly larger than one that is divisible only by one and by itself.

Solution (in JAVA):

Solution:
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.BufferedReader;
import java.util.regex.Pattern;
import java.io.InputStreamReader;
import java.io.InputStream;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 *
 * @author amalev
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        FastScanner in = new FastScanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        TaskD solver = new TaskD();
        solver.solve(1, in, out);
        out.close();
    }

    static class TaskD {
        public boolean isPrime(long n) {
            long i = 2;
            while (i * i <= n) {
                if (n % i == 0) {
                    return false;
                }
                if (i == 2) {
                    i++;
                } else {
                    i += 2;
                }
            }
            return true;
        }

        public void solve(int testNumber, FastScanner in, PrintWriter out) {
            boolean[] p1000 = new boolean[1000];
            int[] res1000 = new int[1000];
            for (int i = 2; i < 1000; i++) {
                p1000[i] = isPrime(i);
            }
            p1000[0] = true;
            for (int n = 2; n < 1000; n++) {
                if (n % 2 == 0) {
                    for (int p = n; p > 1; p--) {
                        if (p1000[p] && p1000[n - p]) {
                            res1000[n] = p;
                            break;
                        }
                    }
                    if (res1000[n] == 0) {
                        throw new RuntimeException("Not possible for n " + n);
                    }
                }
            }


            int n = in.nextInt();
            int p = n;
            while (p > 2 && !isPrime(p)) {
                p -= 2;
            }
            if (p < 2) {
                throw new RuntimeException("Not possible for n " + n);
            }
            int a = p;
            int b = res1000[n - p];
            int c = n - p - res1000[n - p];

            int cnt = 1;
            if (b > 0) cnt++;
            if (c > 0) cnt++;

            out.println(cnt);
            out.print(a);
            if (b > 0) {
                out.print(" ");
                out.print(b);
            }
            if (c > 0) {
                out.print(" ");
                out.print(c);
            }

        }

    }

    static class FastScanner {
        final BufferedReader input;
        String[] buffer;
        int pos;
        final static Pattern SEPARATOR = Pattern.compile("\\s+");

        public FastScanner(InputStream inputStream) {
            input = new BufferedReader(new InputStreamReader(inputStream));
        }

        private String read() {
            try {
                if (buffer == null || pos >= buffer.length) {
                    buffer = SEPARATOR.split(input.readLine());
                    pos = 0;
                }
                return buffer[pos++];
            } catch (Exception ex) {
                throw new RuntimeException(ex);
            }
        }

        public int nextInt() {
            return Integer.parseInt(read());
        }

    }
}