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 CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
pair<int, int> sum(int a) {
  int a1, b;
  int primes[62] = {2,   3,   5,   7,   11,  13,  17,  19,  23,  29,  31,
                    37,  41,  43,  47,  53,  59,  61,  67,  71,  73,  79,
                    83,  89,  97,  101, 103, 107, 109, 113, 127, 131, 137,
                    139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193,
                    197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257,
                    263, 269, 271, 277, 281, 283, 293};
  for (int i = 0; i < 62; i++) {
    for (int j = i; j < 62; j++) {
      if (primes[i] + primes[j] == a) {
        a1 = primes[i];
        b = primes[j];
      }
    }
  }
  return make_pair(a1, b);
}
int main() {
  int prime, n;
  cin >> n;
  for (int i = n;; i--) {
    bool c = true;
    for (int j = 2; j <= sqrt(i); j++) {
      if (i % j == 0) c = false;
    }
    if (c) {
      prime = i;
      break;
    }
  }
  if (n == 3)
    cout << "1 3";
  else if (n == 5)
    cout << "1 5";
  else if (n == prime)
    cout << "1 " << prime;
  else if (n - prime == 2)
    cout << 2 << " " << prime << " " << 2;
  else if (n - prime == 3)
    cout << 2 << " " << prime << " " << 3;
  else {
    cout << 3 << " " << sum(n - prime).first << " " << sum(n - prime).second
         << " " << prime;
  }
  return 0;
}