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.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.Scanner;
import java.util.concurrent.ArrayBlockingQueue;
 
public class Main {
    Scanner sc = new Scanner(System.in);
 
    public static void main(String[] args) {
        new Main(); 
    }
 
    public Main() {
        new D().doIt();
    }
    class D{
        ArrayList<Integer> array = new ArrayList<Integer>();
        int MAX = 1000000;
        boolean [] isprime = new boolean[MAX + 1];
        void eratos(){ 
            Arrays.fill(isprime, true);
            isprime[0] = false;
            isprime[1] = false;
            for(int i = 0; i * i <= MAX; i++){
                if(isprime[i]){
                    array.add(i);
                    for(int j = i * 2; j <= MAX; j+= i){
                        isprime[j] = false;
                    }
                }
            }
        }
        
        boolean is_prime(int n){
            int i = 2;
            while(i * i <= n){
                if(n % i == 0)return false;
                i += 1;
            }
            return true;
        }
        
        void doIt(){
            int n = sc.nextInt();
            eratos();
            if(is_prime(n)){
                System.out.println(1);
                System.out.println(n);
            }else{
                for(int i = 0;i < array.size();i++){
                    int n2 = n - array.get(i);
                    if(n2 < 2)break;
                    else if(is_prime(n2)){
                        System.out.println(2);
                        System.out.println(n2+" "+array.get(i));
                        System.exit(0);
                    }
                    for(int j = 0;j < array.size();j++){
                        int n3 = n2 - array.get(j);
                        if(n3 < 2)break;
                        else if(is_prime(n3)){
                            System.out.println(3);
                            System.out.println(n3+" "+array.get(i)+" "+array.get(j));
                            System.exit(0);
                        }
                    }
                }
            }
        }
    }
}