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;
bool status[1100000];
vector<int> prime;
void sieve() {
  int n = 1000000;
  int sq = sqrt(n);
  prime.push_back(2);
  for (int i = 4; i <= n; i = i + 2) status[i] = 1;
  for (int i = 3; i <= sq; i = i + 2) {
    if (status[i] == 0) {
      for (int j = i * i; j <= n; j = j + i) {
        status[j] = 1;
      }
    }
  }
  status[1] = 1;
  status[0] = 0;
  for (int i = 3; i <= n; i = i + 2) {
    if (status[i] == 0) prime.push_back(i);
  }
}
long long int nod(long long int n) {
  long long int sq = sqrt(n);
  long long int res = 1;
  for (long long int i = 0; i < prime.size() && prime[i] <= sq; i++) {
    long long int cnt = 1;
    long long int c = prime[i];
    while (n % prime[i] == 0) {
      n = n / prime[i];
      cnt++;
    }
    sq = sqrt(n);
    res = res * (cnt);
  }
  if (n != 1) {
    res = res * 2;
  }
  return res;
}
int main() {
  sieve();
  long long int n, cnt, a, b, c;
  scanf("%lld", &n);
  for (long long int i = n; i >= 3; i = i - 2) {
    cnt = nod(i);
    if (cnt == 2 and i == n) {
      printf("1\n");
      printf("%lld", n);
      return 0;
    } else if (cnt == 2 and n - i > 2) {
      a = i;
      break;
    }
  }
  n = n - a;
  for (long long int i = 0; i < prime.size(); i++) {
    b = n - prime[i];
    if (status[b] == 0) {
      printf("3\n");
      printf("%lld %lld %lld", a, b, n - b);
      return 0;
    }
  }
}